mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-22 03:34:10 -05:00
Remove some less necessary mappings, and change the tab mappings from alt to ctrl
This commit is contained in:
parent
28cad284ac
commit
d997f77832
2 changed files with 7 additions and 18 deletions
|
@ -85,7 +85,6 @@ A theme, config and collection of plugins for Neovim
|
||||||
| F4 | ALL | Toggle source code syntax checking |
|
| F4 | ALL | Toggle source code syntax checking |
|
||||||
| | | |
|
| | | |
|
||||||
| \` | N | Toggle gutter (left bar with line numbers etc.) |
|
| \` | N | Toggle gutter (left bar with line numbers etc.) |
|
||||||
| Leader+? | N | Toggle the **vim** reference manual |
|
|
||||||
|
|
||||||
#### Spell Check
|
#### Spell Check
|
||||||
|
|
||||||
|
|
|
@ -54,9 +54,9 @@
|
||||||
" <Esc> | (T) -> leave edit mode
|
" <Esc> | (T) -> leave edit mode
|
||||||
"
|
"
|
||||||
" (tabs)
|
" (tabs)
|
||||||
" <Alt-n> | (N) -> go to the next open tab
|
" <Ctrl-n> | (N) -> go to the next open tab
|
||||||
" <Alt-p> | (N) -> go to the previous open tab
|
" <Ctrl-p> | (N) -> go to the previous open tab
|
||||||
" <Alt-t> | (N) -> open a new tab
|
" <Ctrl-t> | (N) -> open a new tab
|
||||||
"
|
"
|
||||||
" (split)
|
" (split)
|
||||||
" <Ctrl-w>{ | (N) -> rotate counter-clockwise
|
" <Ctrl-w>{ | (N) -> rotate counter-clockwise
|
||||||
|
@ -84,7 +84,6 @@
|
||||||
"
|
"
|
||||||
" ~ | (N) -> popup a command reference
|
" ~ | (N) -> popup a command reference
|
||||||
" <Leader><F1> | (N) -> toggle the vim reference manual
|
" <Leader><F1> | (N) -> toggle the vim reference manual
|
||||||
" <Leader>? | (N) -> toggle the vim reference manual
|
|
||||||
" ` | (A) -> toggle the gutter(numbers+folds+signify)
|
" ` | (A) -> toggle the gutter(numbers+folds+signify)
|
||||||
"
|
"
|
||||||
" <Space><Space> | (N) -> toggle selected fold
|
" <Space><Space> | (N) -> toggle selected fold
|
||||||
|
@ -188,9 +187,6 @@
|
||||||
"Filetype Specific Mappings:
|
"Filetype Specific Mappings:
|
||||||
" (help)
|
" (help)
|
||||||
" q | (A) -> close the dialog
|
" q | (A) -> close the dialog
|
||||||
" <Leader>? | (A) -> close the dialog
|
|
||||||
" ?> | (A) -> close the dialog
|
|
||||||
" ?< | (A) -> close the dialog
|
|
||||||
"
|
"
|
||||||
" (error/location list)
|
" (error/location list)
|
||||||
" <Left> | (A) -> up
|
" <Left> | (A) -> up
|
||||||
|
@ -217,8 +213,7 @@
|
||||||
noremap > <Nop>
|
noremap > <Nop>
|
||||||
noremap < <Nop>
|
noremap < <Nop>
|
||||||
|
|
||||||
"-unmapping help from F1 and Ctrl-F1 for use toggling the reference manual
|
"-unmapping help from F1, Alt-F1 and Ctrl-F1
|
||||||
"+the :h topic feature works, and <Leader>? displays quickref
|
|
||||||
map <F1> <Nop>
|
map <F1> <Nop>
|
||||||
map <A-F1> <Nop>
|
map <A-F1> <Nop>
|
||||||
map <C-F1> <Nop>
|
map <C-F1> <Nop>
|
||||||
|
@ -375,9 +370,9 @@
|
||||||
"}
|
"}
|
||||||
|
|
||||||
"TABS:{
|
"TABS:{
|
||||||
nnoremap <silent><expr> <A-n> ':tabnext<CR>'
|
nnoremap <silent><expr> <C-n> ':tabnext<CR>'
|
||||||
nnoremap <silent><expr> <A-p> ':tabprev<CR>'
|
nnoremap <silent><expr> <C-p> ':tabprev<CR>'
|
||||||
nnoremap <silent><expr> <A-t> ':tabnew<CR>'
|
nnoremap <silent><expr> <C-t> ':tabnew<CR>'
|
||||||
"}
|
"}
|
||||||
|
|
||||||
"SPLIT:{
|
"SPLIT:{
|
||||||
|
@ -414,9 +409,6 @@
|
||||||
"toggle the command reference box
|
"toggle the command reference box
|
||||||
nnoremap <silent><expr> ~ ':TCommand<CR>'
|
nnoremap <silent><expr> ~ ':TCommand<CR>'
|
||||||
|
|
||||||
"toggle the vim reference manual
|
|
||||||
nnoremap <silent><expr> <Leader>? ':h index.txt<CR>'
|
|
||||||
|
|
||||||
"toggle the display of the left gutter
|
"toggle the display of the left gutter
|
||||||
nnoremap <silent><expr> ` ':if (&number)<Bar>set nonumber<Bar>if exists("b:sy")<Bar>SignifyDisable<Bar>endif<Bar>else<Bar>set number<Bar>if exists("b:sy")<Bar>SignifyEnable<Bar>endif<Bar>endif<CR>:echo "gutter visibility toggled"<CR>'
|
nnoremap <silent><expr> ` ':if (&number)<Bar>set nonumber<Bar>if exists("b:sy")<Bar>SignifyDisable<Bar>endif<Bar>else<Bar>set number<Bar>if exists("b:sy")<Bar>SignifyEnable<Bar>endif<Bar>endif<CR>:echo "gutter visibility toggled"<CR>'
|
||||||
|
|
||||||
|
@ -612,8 +604,6 @@
|
||||||
"help
|
"help
|
||||||
if !&diff
|
if !&diff
|
||||||
autocmd FileType help map <buffer> <silent><expr> q ':q<CR>'
|
autocmd FileType help map <buffer> <silent><expr> q ':q<CR>'
|
||||||
autocmd FileType help map <buffer> <silent><expr> <Leader><F1> ':q<CR>'
|
|
||||||
autocmd FileType help map <buffer> <silent><expr> <Leader>? ':q<CR>'
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
"error/location list
|
"error/location list
|
||||||
|
|
Loading…
Reference in a new issue