Vim tips - xZixz/TDIL GitHub Wiki
June 26 2017
Create a file with the content:
! Swap caps lock and escape
remove Lock = Caps_Lock
keysym Escape = Caps_lock
keysym Caps_lock = Escape
add Lock = Caps_Lock
call it ".speedswapper". Then type in the terminal:
$ xmodmap ~/.speedswapper
July 9 2017
Put this in ~/.vimrc
file
set number
July 11 2017
Execute these commands
mkdir ~/.vim/autoload && mkdir ~/.vim/bundle
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
Add this to .vimrc
execute pathogen#infect()
Need install pathogen.vim first
Executes these commands
cd ~/.vim/bundle
git clone git://github.com/tpope/vim-unimpaired.git
Add this to .vimrc
cnoremap <expr> %% getcmdtype() == ':' ? expand('%:h').'/' : '%%'
Add this to .vimrc
set nocompatible
filetype plugin on
runtime macros/matchit.vim
Vimcast: http://vimcast.org/
Upcase: https://upcase.com/vim
Derekwyatt: http://derekwyatt.org/vim/tutorials
August 8 2017
Ubuntu:
$ sudo apt-get install exuberant-ctags
OSX:
$ brew install ctags
Check ctags
is installed:
$ ctags --help