mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-25 20:51:26 -05:00
Changed <F12> and <C-F12> in gvim to <Leader><F1> and <Leader><F2>
This commit is contained in:
parent
e48ad9529e
commit
56dd4525e4
2 changed files with 10 additions and 10 deletions
|
@ -120,8 +120,8 @@ A theme, config and collection of plugins for Vim.
|
|||
|
||||
| Binding | Mode | Action |
|
||||
|:-----------------------|:----:|-------------------------------------------------:|
|
||||
| \<F12\> | ALL | Toggle the menubar **(gvim)** |
|
||||
| \<Ctrl-F12\> | ALL | Toggle the toolbar **(gvim)** |
|
||||
| \<Backslash\>\<F1\> | ALL | Toggle the menubar **(gvim)** |
|
||||
| \<Backslash\>\<F2\> | ALL | Toggle the toolbar **(gvim)** |
|
||||
|
||||
### Complete Reference ###
|
||||
|
||||
|
|
|
@ -96,8 +96,8 @@
|
|||
" <Alt-F4> | (A) -> toggle external-paste mode
|
||||
"
|
||||
" (gvim toggles)
|
||||
" <F12> | (A) -> toggle the menubar
|
||||
" <Ctrl-F12> | (A) -> toggle the toolbar
|
||||
" <Leader><F1> | (A) -> toggle the menubar
|
||||
" <Leader><F2> | (A) -> toggle the toolbar
|
||||
"
|
||||
" (spellcheck)
|
||||
" ?<Space> | (N) -> toggle spellcheck error list
|
||||
|
@ -441,14 +441,14 @@
|
|||
|
||||
"GVIM TOGGLES:{
|
||||
"toggle the menu
|
||||
nnoremap <silent><expr> <F12> ":if &go=~#'m'<Bar>set go-=m<Bar>else<Bar>set go+=m<Bar>endif<CR>:echo 'Menu bar toggled'<CR>"
|
||||
vnoremap <silent><expr> <F12> "<Esc>:if &go=~#'m'<Bar>set go-=m<Bar>else<Bar>set go+=m<Bar>endif<CR>gv"
|
||||
inoremap <silent><expr> <F12> "<C-O>:if &go=~#'m'<Bar>set go-=m<Bar>else<Bar>set go+=m<Bar>endif<CR>"
|
||||
nnoremap <silent><expr> <Leader><F1> ":if &go=~#'m'<Bar>set go-=m<Bar>else<Bar>set go+=m<Bar>endif<CR>:echo 'Menu bar toggled'<CR>"
|
||||
vnoremap <silent><expr> <Leader><F1> "<Esc>:if &go=~#'m'<Bar>set go-=m<Bar>else<Bar>set go+=m<Bar>endif<CR>gv"
|
||||
inoremap <silent><expr> <Leader><F1> "<C-O>:if &go=~#'m'<Bar>set go-=m<Bar>else<Bar>set go+=m<Bar>endif<CR>"
|
||||
|
||||
"toggle the toolbar
|
||||
nnoremap <silent><expr> <C-F12> ":if &go=~#'T'<Bar>set go-=T<Bar>else<Bar>set go+=T<Bar>endif<CR>:echo 'Toolbar toggled'<CR>"
|
||||
vnoremap <silent><expr> <C-F12> "<Esc>:if &go=~#'T'<Bar>set go-=T<Bar>else<Bar>set go+=T<Bar>endif<CR>gv"
|
||||
inoremap <silent><expr> <C-F12> "<C-O>:if &go=~#'T'<Bar>set go-=T<Bar>else<Bar>set go+=T<Bar>endif<CR>"
|
||||
nnoremap <silent><expr> <Leader><F2> ":if &go=~#'T'<Bar>set go-=T<Bar>else<Bar>set go+=T<Bar>endif<CR>:echo 'Toolbar toggled'<CR>"
|
||||
vnoremap <silent><expr> <Leader><F2> "<Esc>:if &go=~#'T'<Bar>set go-=T<Bar>else<Bar>set go+=T<Bar>endif<CR>gv"
|
||||
inoremap <silent><expr> <Leader><F2> "<C-O>:if &go=~#'T'<Bar>set go-=T<Bar>else<Bar>set go+=T<Bar>endif<CR>"
|
||||
"}
|
||||
|
||||
"SPELLCHECK:{
|
||||
|
|
Loading…
Reference in a new issue