💻 Vim
vim ~/.vimrc
-- set clipboard+=unnamed ++ set clipboard=unnamed
vim ~/.vimrc
++ set spell spelllang=en_us
Movement
]
+s
= Next misspelled word[
+s
= Prev misspelled word
Suggestions
z
+=
Add to dictionary
z
+g
Mark for later
z
+w
turn off with
:set nospell
Or edit
~/.vimrc
and add:map <F7> :setlocal spell! spelllang=en_us<CR>
to toggle withF7
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
If
cp ~/.vim
then load vim and run::PluginUpdate
If you copied ~/.vim from another system just run the above command to update plugins
vim ~/.vimrc
set nocompatible "Switch off later if needed filetype off "^same set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() Plugin 'VundleVim/Vundle.vim' Plugin 'ctrlpvim/ctrlp.vim' Plugin 'preservim/nerdtree' Plugin 'Yggdroot/indentline' Plugin 'vim-syntastic/syntastic' Plugin 'vim-airline/vim-airline' Plugin 'lervag/vimtex' Plugin 'xuhdev/SingleCompile' Plugin 'godlygeek/tabular' Plugin 'henrik/vim-indexed-search' Plugin 'vim-airline/vim-airline-themes' Plugin 'rafi/awesome-vim-colorschemes' call vundle#end() filetype plugin indent on " Brief help " :PluginList - lists configured plugins " :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate " :PluginSearch foo - searches for foo; append `!` to refresh local cache " :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal " " see :h vundle for more details or wiki for FAQ " Put your non-Plugin stuff after this line
See below for plugin links
Example:
vim example.txt.gpg
- enter
password
to save and exit
- enter
vim ~/.{bas,zs,fis}hrc
++ GPG_TTY=$(tty) ++ export GPG_TTY
vim ~/.vimrc
++ set nobackup ++ set nowritebackup
vim ~/.vimrc
++ colorscheme challenger_deep
See below for themes
git clone https://github.com/powerline/fonts.git
cd fonts
./install.sh
Update font cache–not effective with KDE Neon/Hack TTF?
mkdir ~/.local/share/fonts && cd ~/.local/share/fonts
wget https://github.com/source-foundry/Hack/releases/download/v3.003/Hack-v3.003-ttf.zip
p7zip hack*
fc-cache -f -v
:%s/^/\=line('.')/
GitHub - VundleVim/Vundle.vim: Vundle, the plug-in manager for Vim
Stack Overflow | How to add line numbers to range of lines in Vim?
GitHub - VundleVim/Vundle.vim: Vundle, the plug-in manager for Vim
GitHub - vim-airline/vim-airline: lean & mean status/tabline for vim that's light as air
GitHub - vim-airline/vim-airline-themes: A collection of themes for vim-airline
GitHub - ctrlpvim/ctrlp.vim: Active fork of kien/ctrlp.vim—Fuzzy file, buffer, mru, tag, etc finder
GitHub - preservim/nerdtree: A tree explorer plugin for vim.
GitHub - henrik/vim-indexed-search: Show “Match 123 of 456 /search term/” in Vim searches
GitHub - godlygeek/tabular: Vim script for text filtering and alignment
GitHub - Yggdroot/indentLine: A vim plugin to display the indention levels with thin vertical lines
GitHub - vim-syntastic/syntastic: Syntax checking hacks for vim
GitHub - lervag/vimtex: VimTeX: A modern Vim and neovim filetype plugin for LaTeX files
GitHub - rafi/awesome-vim-colorschemes: Collection of awesome color schemes