Skip to content

Commit

Permalink
vim: set autochdir on and jk in insert mode to exit to normal mode
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusvellone committed Jul 26, 2018
1 parent 387aae9 commit 5ea9fd5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vim/init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ set background=dark
set number
set relativenumber
set cursorline
set autochdir

set inccommand=split

Expand All @@ -52,6 +53,8 @@ set nofoldenable
nnoremap <Space> za
nnoremap <F5> :e<CR>
imap jk <Esc>
nnoremap <leader>ve :edit ~/.config/nvim/init.vim<CR>
nnoremap <leader>src :source ~/.config/nvim/init.vim<CR>
nnoremap <leader>h :nohl<CR>
Expand Down

0 comments on commit 5ea9fd5

Please sign in to comment.