

ajh17/Spacegray.vim - A Vim color scheme loosely based on the Spacegray Xcode theme.tlhunter/vimrc - VimL: Opinionated VIM Configuration.The script turns off viminfo, swapfile, and undofile to increase security. The file content will be encrypted to all recipients before it is written. When opening such a file the content is decrypted, when opening a new file the script will ask for the recipients of the encrypted file. The filename must have a “.gpg”, “.pgp” or “.asc” suffix.

jamessan/vim-gnupg - This script implements transparent editing of gpg encrypted files.

#WRITEROOM MODE AUTO WRAP HOW TO#
jez/vim-as-an-ide - Workshop on how to use Vim Plugins.ryanoasis/vim-devicons - :symbols: Adds file type glyphs/icons to popular Vim plugins: NERDTree, vim-airline, Powerline, Unite, vim-startify and more.mhinz/vim-startify - :link: The fancy start screen for Vim.mhinz/vim-galore - :mortar_board: All things Vim!.fatih/vim-go - Go development plugin for Vim.Using fzf.Description: A curated list of awesome VimL frameworks, libraries and software.Ī curated list of awesome Viml frameworks, libraries and software. It makes it very easy to quickly search through files by filename or contents from within vim (using ripgrep). I put very little effort into keeping my notes organized these days because of fzf.vim. Pulling up the table of contents and jumping to a section fzf.vim \ 'options': '-reverse -delimiter=: -with-nth=2.' skip the line number)Ĭommand ! -bang - complete = dir -nargs =? TOC

"gg" endfunction " Args " - Source: user ripgrep to search for one or more '#' at the start of a line " in the current file " - Sink: use the line hanlder function above to jump to the selected line " - Options: " - reverse output " - split on ':' and take all fields from the 2nd on " (i.e. function ! s:line_handler (line ) let keys = split ( a:line, ':' )Įxecute "normal! ". " Table of Contents (for markdown files) " Jump to line match from ripgrep " Expects that the line is delimited with ':' " and the first field is the line number. Instead I've set up a way to pull up section headings and quickly jump to them using the fzf.vim plugin (which I'll describe in more detail in the next section) and ripgrep. It's nice but a bit cumbersome to jump to it and make your section selection there. There's a plugin called VOoM that basically adds a table of contents pane for markdown documents. In vim it's harder to get a sense of the high-level document structure and navigate through sections. Toggling writing mode Table of contents navigation 'vsplit +setlocal\ nobuflisted' l:name | wincmd p endif endfunction nnoremap w : call ToggleWriteMode () 'vsplit +setlocal\ nobuflisted' l:name | wincmd p silent ! execute 'botright' l:width. " target column width let l:target = 90 let l:width = (& columns - l:target ) / 2 silent ! execute 'topleft' l:width. " writing mode " function ! ToggleWriteMode () let l:name = '_writeroom_' if bufwinnr ( l:name ) > 0 colorscheme darkĮlse colorscheme light " hide vertical split hi VertSplit ctermfg = bg ctermbg = NONE cterm = NONE " auto-close writeroom buffers when the text buffer closes
