From eb2415300e514b9c9afdb470de0e35090e2ea41f Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Thu, 4 Jun 2020 18:02:41 +0530 Subject: [PATCH] nvim: Drop jump and change list handling Signed-off-by: Sanchayan Maity --- nvim/.config/nvim/functions.vim | 13 ------------- nvim/.config/nvim/init.vim | 1 - nvim/.config/nvim/keymappings.vim | 4 ---- 3 files changed, 18 deletions(-) delete mode 100644 nvim/.config/nvim/functions.vim diff --git a/nvim/.config/nvim/functions.vim b/nvim/.config/nvim/functions.vim deleted file mode 100644 index 72684cc..0000000 --- a/nvim/.config/nvim/functions.vim +++ /dev/null @@ -1,13 +0,0 @@ -function! GotoJump() - jumps - let j = input("Please select your jump: ") - if j != '' - let pattern = '\v\c^\+' - if j =~ pattern - let j = substitute(j, pattern, '', 'g') - execute "normal " . j . "\" - else - execute "normal " . j . "\" - endif - endif -endfunction diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index 6569b1f..2d7f2bd 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -106,7 +106,6 @@ let g:vim_home = get(g:, 'vim_home', expand('~/.config/nvim/')) let config_list = [ \ 'autocmd.vim', \ 'config.vim', - \ 'functions.vim', \ 'keymappings.vim', \ 'plugin_settings.vim', \] diff --git a/nvim/.config/nvim/keymappings.vim b/nvim/.config/nvim/keymappings.vim index fb7ba56..c4d05c2 100644 --- a/nvim/.config/nvim/keymappings.vim +++ b/nvim/.config/nvim/keymappings.vim @@ -7,10 +7,6 @@ inoremap cnoremap " Use Q to execute default register. nnoremap Q -" Jump and change list -nnoremap o :call GotoJump() -nnoremap ; :changes:keepjumps norm g; -nnoremap , :changes:keepjumps norm g, " Async Make mappings nnoremap b :Make nnoremap B :LMake