set hidden set undofile set shortmess=atI set wildmode=list:longest wildignore=*.o set splitbelow splitright command! W w command! Q q set tabstop=4 shiftwidth=4 shiftround set smartindent cinoptions=l1(sU1m1 set ignorecase smartcase inccommand=nosplit nmap :nohlsearch set foldmethod=syntax foldlevel=99 foldopen-=block let asmsyntax = "nasm" let c_syntax_for_h = 1 let is_posix = 1 let man_hardwrap = 1 set title laststatus=1 set scrolloff=1 set noruler colorcolumn=80 set list listchars=tab:\ \ ,trail:ยท colorscheme trivial autocmd TermOpen * setlocal statusline=%{b:term_title} autocmd BufEnter term://* startinsert tmap let g:clipboard = {'copy':{'+':'pbcopy'},'paste':{'+':'pbpaste'}} nmap gp `[v`] nmap s vip:sort nmap S $vi{:sort nmap a m':0/^#include <:nohlsearchO#include < nmap l :0read ~/src/etc/agpl.c'' nmap L :0read ~/src/etc/gpl.c'' nmap d :0delete:0read !date +'.Dd \%B \%e, \%Y' command! -nargs=1 RFC :silent noswapfile view ~/src/rfc/rfc.txt.gz autocmd BufRead rfc*.txt.gz \ setlocal keywordprg=:RFC iskeyword=a-z,A-Z,48-57,.,-,[,] | \ nmap gO :call search('^Table of Contents', 'bcs')