vim-settings/vim/rc/init.rc.vim

26 lines
530 B
VimL
Raw Normal View History

2015-03-26 10:09:26 -07:00
"Allows filetype detection
filetype on
filetype plugin indent on
" Use more convenient leader
2016-03-24 10:42:20 -07:00
let mapleader="\<Space>"
2015-03-26 10:09:26 -07:00
" Enable mouse input
set mousehide
set mouse=a
" Set backup dirs
set backup
2015-11-06 22:52:08 -08:00
if has('nvim')
set backupdir=~/.config/nvim/backup
set directory=~/.config/nvim/tmp
set viminfo='100,n~/.config/nvim/tmp/viminfo.nvim
else
set backupdir=~/.vim/backup
set directory=~/.vim/tmp
set viminfo='100,n~/.vim/tmp/viminfo.vim
endif
2015-03-26 10:09:26 -07:00
" Filetype extension
au BufRead,BufNewFile *.md set syntax=markdown