nvim: Drop jump and change list handling

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2020-06-04 18:02:41 +05:30
parent f21ea0787b
commit eb2415300e
3 changed files with 0 additions and 18 deletions

View file

@ -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 . "\<C-i>"
else
execute "normal " . j . "\<C-o>"
endif
endif
endfunction

View file

@ -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',
\]

View file

@ -7,10 +7,6 @@ inoremap <Esc> <Nop>
cnoremap <Esc> <Nop>
" Use Q to execute default register.
nnoremap Q <Nop>
" Jump and change list
nnoremap <Leader>o :call GotoJump()<CR>
nnoremap <Leader>; :changes<CR>:keepjumps norm g;<Left><Left>
nnoremap <Leader>, :changes<CR>:keepjumps norm g,<Left><Left>
" Async Make mappings
nnoremap <LocalLeader>b :Make<CR>
nnoremap <LocalLeader>B :LMake<CR>