@ompugao_ blog

hello this wonderful world

some vim settings

when you open a file which includes a long line on vim.

  • gk - move to the pseudo uppper line
  • gj - move to the pseudo following line

Hmm...

vim --servername

For the first time I've known vim's server-mode.

usage:

terminal1:

gvim --servername

terminal2:

vim --remote ``some file``

Hmm... Useful...? Maybe.

Finally, I added alias commands to .zshrc.

alias gvims='gvim --servername VIM'
alias vims='vim --servername VIM'
alias vimr='vim --servername VIM --remote'

Comments