- neovim
brew install neovim- vi-plug
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'- Link
init.vimfile.
cd $HOME/.config/nvim
ln -sf $dotfiles/init.vim ./- Open 'vim' editor
- Install plugins
:PlugInstall
<C-s>https://github.com/preservim/nerdtree
<C-o> open NERDTree (keymapping)
<C-h> move cursor to NERDTree
<C-l> move cursor to vim
<C-I> show hiden file
https://github.com/terryma/vim-multiple-cursors
<C-n> start multi-cursor and select the word on the cursor
<C-n> select the next word
<C-x> skip the next word
<C-p> move to the previous word
<A-n> start multi-cursor and select all words
<S-v> <C-n> i <esc> select visual block, start multi-cursor, start insert, and end
:sp horizontal split
:vsp vert split
<C-h,j,k,l> navigate between splited plains
https://github.com/ctrlpvim/ctrlp.vim
<C-p> open finder
<C-j,k> navigate
If you want to yank into clipboard, use visual block (<S-v>), select area, use command "+y.
If this deos not work in SSH session, you should install xsel (http://www.vergenet.net/~conrad/software/xsel/#download).
- tmux
brew install tmux- tpm tmux plugin manager https://github.com/tmux-plugins/tpm \
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm- Link
tmux.conffile. Notice., a hiden file.
cd $HOME
ln -sf $dotfiles/tmux.conf .tmux.conf- Open
tmuxsession
tmux- Install tpm
prefix + I(capital i)
prefixwill be<C-a>(<C-b>is default). Install window will show up in seconds and plugins will be installed. - Reload
tmux
prefix + <C-s>
