nvim: keymappings: Drop all key mappings for tags
We do not use tags anymore so drop those. Especially never used the preview tag mappings.
This commit is contained in:
parent
cece84f76e
commit
3657612dbb
1 changed files with 0 additions and 17 deletions
|
@ -35,12 +35,6 @@ remap('n', '<Leader>tc', ':tabclose<CR>' , opts)
|
|||
-- Jump to first tab & close all other tabs. Helpful after running Git
|
||||
-- difftool.
|
||||
remap('n', '<Leader>T', ':tabfirst<CR>:tabonly<CR>', opts)
|
||||
-- For tags
|
||||
remap('n', '[t', ':tprevious<CR>', opts)
|
||||
remap('n', ']t', ':tNext<CR>' , opts)
|
||||
remap('n', '[T', ':tfirst<CR>' , opts)
|
||||
remap('n', ']T', ':tlast<CR>' , opts)
|
||||
remap('n', '<Leader>ts', ':<C-u>tselect <C-r><C-w><CR>', opts)
|
||||
-- Quickfix list mappings
|
||||
remap('n', 'qo', ':copen<CR>' , opts)
|
||||
remap('n', 'qc', ':cclose<CR>' , opts)
|
||||
|
@ -55,13 +49,6 @@ remap('n', '[l', ':lprevious<CR>', opts)
|
|||
remap('n', ']l', ':lnext<CR>' , opts)
|
||||
remap('n', '[L', ':lfirst<CR>' , opts)
|
||||
remap('n', ']L', ':lfirst<CR>' , opts)
|
||||
-- Preview tags
|
||||
remap('n', 'pt', ':ptag <C-R><C-W><CR>' , opts)
|
||||
remap('n', '[p', ':ptprevious<CR>' , opts)
|
||||
remap('n', ']p', ':ptnext<CR>' , opts)
|
||||
remap('n', 'po', ':ppop<CR>' , opts)
|
||||
remap('n', 'pc', ':pc<CR>' , opts)
|
||||
remap('n', 'pi', ':psearch <C-R><C-W><CR>', opts)
|
||||
-- Short cuts for setting fold methods
|
||||
remap('n', 'zmi', ':set foldmethod=indent<CR>', opts)
|
||||
remap('n', 'zmm', ':set foldmethod=manual<CR>', opts)
|
||||
|
@ -84,10 +71,6 @@ remap('n', '<Space>7', '7<C-w>w', opts)
|
|||
remap('n', '<Space>8', '8<C-w>w', opts)
|
||||
remap('n', '<Space>9', '9<C-w>w', opts)
|
||||
|
||||
-- Tag helpers
|
||||
remap('n', '<C-\\>', ':vsp <CR>:<C-u>tag <C-r><C-w><CR>', opts)
|
||||
remap('n', '<A-]>' , ':sp <CR>:<C-u>tag <C-r><C-w><CR>' , opts)
|
||||
|
||||
-- Move across wrapped lines like regular lines
|
||||
-- Go to the first non-blank character of a line
|
||||
remap('n', '0', '^', opts)
|
||||
|
|
Loading…
Reference in a new issue