mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-22 03:21:30 +01:00
vim: add Goyo shortcuts
- `<leader>za` opens Goyo - `<leader>zz` toggles Goyo
This commit is contained in:
parent
9e2e7e1ee0
commit
651bfe01f7
|
@ -87,7 +87,12 @@ map <leader>t :CtrlPTag<CR>
|
||||||
"" Indent Guides
|
"" Indent Guides
|
||||||
map <leader>I :IndentGuidesToggle<CR>
|
map <leader>I :IndentGuidesToggle<CR>
|
||||||
|
|
||||||
"Misc stuff
|
" Goyo
|
||||||
|
nmap <leader>za :Goyo 80%x85%<CR>
|
||||||
|
nmap <leader>zz :Goyo<CR>
|
||||||
|
|
||||||
|
""Misc stuff
|
||||||
|
|
||||||
let s:uname=''
|
let s:uname=''
|
||||||
let s:uname = system('uname | tr -d "\n"') " Get platform name (stripping the trailing newline)
|
let s:uname = system('uname | tr -d "\n"') " Get platform name (stripping the trailing newline)
|
||||||
if s:uname == "Darwin"
|
if s:uname == "Darwin"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user