Skip to content

Commit

Permalink
vim: Undo all unsaved changes。
Browse files Browse the repository at this point in the history
  • Loading branch information
keikun17 committed Jan 31, 2016
1 parent e681ab2 commit 939b88b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/nvim/keymappings.vim
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ vnoremap <C-s> <esc>:w<cr>
nnoremap <C-s> :w<cr>
" Undo all unsaved changes
inoremap <leader>e <esc>:e<cr>
vnoremap <leader>e <esc>:e<cr>
nnoremap <leader>e :e<cr>
inoremap <leader>e <esc>:e!<cr>
vnoremap <leader>e <esc>:e!<cr>
nnoremap <leader>e :e!<cr>
" Nerdtree
nnoremap <C-S-n> :NERDTreeToggle<CR>
Expand Down

0 comments on commit 939b88b

Please sign in to comment.