|
@@ -4,9 +4,6 @@ set nocompatible
|
|
|
" Formatting for JSON files
|
|
" Formatting for JSON files
|
|
|
au FileType json setlocal equalprg=python\ -m\ json.tool
|
|
au FileType json setlocal equalprg=python\ -m\ json.tool
|
|
|
|
|
|
|
|
-" Remap vim's 'increment next number' to <C-b> since <C-a> is used by tmux.
|
|
|
|
|
-nnoremap <C-b> <C-a>
|
|
|
|
|
-
|
|
|
|
|
if has("autocmd")
|
|
if has("autocmd")
|
|
|
" Clear existing autocmd
|
|
" Clear existing autocmd
|
|
|
autocmd!
|
|
autocmd!
|
|
@@ -90,6 +87,9 @@ inoremap jk <ESC>
|
|
|
" Yank from the cursor to the end of the line, to be consistent with C and D.
|
|
" Yank from the cursor to the end of the line, to be consistent with C and D.
|
|
|
nnoremap Y y$
|
|
nnoremap Y y$
|
|
|
|
|
|
|
|
|
|
+" Remap vim's 'increment next number' to <C-b> since <C-a> is used by tmux.
|
|
|
|
|
+nnoremap <C-b> <C-a>
|
|
|
|
|
+
|
|
|
nnoremap <silent> <leader>w :set wrap!<CR>
|
|
nnoremap <silent> <leader>w :set wrap!<CR>
|
|
|
|
|
|
|
|
" Toggle paste mode - no autoindenting of pasted material
|
|
" Toggle paste mode - no autoindenting of pasted material
|