Skip to content

Instantly share code, notes, and snippets.

@Grissess
Last active October 28, 2021 14:21
Show Gist options
  • Save Grissess/eb3cf157eb71923ed001d67f9e277fc2 to your computer and use it in GitHub Desktop.
Save Grissess/eb3cf157eb71923ed001d67f9e277fc2 to your computer and use it in GitHub Desktop.
execute pathogen#infect()
filetype indent plugin on
set cul nojs smc=50000 sts=4 ts=4 sw=4 nu hls is ai si ru sc mouse=a fo=cqnj flp=\\v^\\s*(-\|\\*\|\\d+[\\]:.)}\\t\ ])\\s*
set statusline=%f%m%r%h\ [%L]\ [%{&ff}]\ %y%=[%p%%]\ [%05l,%c-%v]
au ColorScheme * hi CursorLine cterm=none
au ColorScheme * hi CursorLineNr cterm=bold ctermfg=37 guifg=#00afaf
if exists("g:tridactyl_editor")
au ColorScheme * hi StatusLine ctermbg=20 ctermfg=7
au ColorScheme * hi StatusLineNC ctermbg=4 ctermfg=0
else
au ColorScheme * hi StatusLine ctermbg=10 ctermfg=0
au ColorScheme * hi StatusLineNC ctermbg=22 ctermfg=0
endif
au BufRead,BufNewFile *.nw set ft=noweb
let noweb_backend="tex"
let noweb_language="c"
colo darkblue
if &diff
colo shine
endif
syntax on
cmap w!! w !sudo tee > /dev/null %
vnoremap a3' :<C-U>silent! normal! /'''<CR>Nvne
omap a3' :normal va3'<CR>
vnoremap i3' :<C-U>silent! normal! /'''<CR>Nwvnb
omap i3' :normal vi3'<CR>
vnoremap a3" :<C-U>silent! normal! /"""<CR>Nvne
omap a3" :normal va3"<CR>
vnoremap i3" :<C-U>silent! normal! /"""<CR>Nwvnb
omap i3" :normal vi3"<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment