aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Christian Pohle2017-11-03 23:34:01 +0100
committerMax Christian Pohle2017-11-03 23:34:01 +0100
commitfc5156e5867877ecb576ba2e0219f050e6c54d6c (patch)
tree83c1b963aa98fe6f499b7977c951cf007442741d
parent694a8236d1418c51cafeefcbbdaa0c76844a6a0a (diff)
downloadvim-fc5156e5867877ecb576ba2e0219f050e6c54d6c.tar.bz2
vim-fc5156e5867877ecb576ba2e0219f050e6c54d6c.zip
Improved remote-send menu by removing current session
-rw-r--r--vimrc-full7
1 files changed, 5 insertions, 2 deletions
diff --git a/vimrc-full b/vimrc-full
index 92324c3..d197acc 100644
--- a/vimrc-full
+++ b/vimrc-full
@@ -151,7 +151,8 @@ if has("gui_running")
151 151
152 " its possible to define alternative fonts (order matters) 152 " its possible to define alternative fonts (order matters)
153 set guifont= 153 set guifont=
154 set guifont=Hasklug\ Nerd\ Font\ Mono\ Semi-Bold\ 10 154 set guifont=Hasklig\ Semi-Bold\ 10
155 set guifont+=Hasklug\ Nerd\ Font\ Mono\ Semi-Bold\ 10
155 set guifont+=FuraMono\ Nerd\ Font\ Mono\ Medium\ 11 156 set guifont+=FuraMono\ Nerd\ Font\ Mono\ Medium\ 11
156 set guifont+=Source\ Code\ Pro\ for\ Powerline\ SemiBold\ 10 157 set guifont+=Source\ Code\ Pro\ for\ Powerline\ SemiBold\ 10
157 set guifont+=LiterationMono\ Nerd\ Font\ Mono\ 10 158 set guifont+=LiterationMono\ Nerd\ Font\ Mono\ 10
@@ -291,7 +292,9 @@ else " default Vim?
291 menu &UI.refresh\ server\ list :call Refresh_server_list()<CR> 292 menu &UI.refresh\ server\ list :call Refresh_server_list()<CR>
292 menu &UI.-Sep1- : 293 menu &UI.-Sep1- :
293 for s in split(serverlist(), '\n') 294 for s in split(serverlist(), '\n')
294 execute ':menu &UI.&Open\ in\ '.s." :execute \":bd<Bar>:call remote_send('".s."', ':e ' . expand('#:p') . '\\<CR\\>')<Bar>:call remote_foreground('".s."')\"<CR>" 295 if v:servername != s
296 execute ':menu &UI.&Open\ in\ '.s." :execute \":bd<Bar>:call remote_send('".s."', ':e ' . expand('#:p') . '\\<CR\\>')<Bar>:call remote_foreground('".s."')\"<CR>"
297 endif
295 endfor 298 endfor
296 endfunction 299 endfunction
297 autocmd! VimEnter * call Refresh_server_list() 300 autocmd! VimEnter * call Refresh_server_list()
..