diff options
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -1,10 +1,6 @@ " Compatibility set nocompatible -" Plugins -silent! call pathogen#infect() -silent! call pathogen#helptags() - " Filetypes if has("autocmd") filetype on @@ -12,6 +8,9 @@ if has("autocmd") filetype indent on endif +" Backups +set nobackup + " Colors if has("syntax") syntax enable @@ -46,10 +45,6 @@ endif " History set history=100 -" Indenting -set autoindent -set smartindent - " Leaders nnoremap <leader>h :set hlsearch!<CR> nnoremap <leader>l :set list!<CR> @@ -59,6 +54,9 @@ nnoremap <leader>r :set relativenumber!<CR> nnoremap <leader>s :set spell!<CR> nnoremap <leader>w :set wrap!<CR> +" Macros +set lazyredraw + " Miscellaneous set backspace=indent,eol,start set scrolloff=1 @@ -74,6 +72,9 @@ endif set splitbelow set splitright +" Swaps +set noswapfile + " Typos command W w command Wq wq |