diff options
author | ensa <psii@riseup.net> | 2020-05-30 02:01:43 -0700 |
---|---|---|
committer | ensa <psii@riseup.net> | 2020-05-30 02:27:02 -0700 |
commit | 310c76b161e680a698995d61b2a741a05b384fbe (patch) | |
tree | 39338035a918c2466d27f8041d3f6416830e84e1 /config/nvim/init.vim | |
parent | 7c28231047f1b9c07ce6b85366afe1dce821cc7a (diff) | |
download | cfg-310c76b161e680a698995d61b2a741a05b384fbe.tar.gz |
new functionality, themes, man page
bin/ bar.sh: pipes spoon into dzen2 lh: added gemini/gopher handling with bombadillo shortened (no loss of functionality) opener: shortened (no loss of functionality) config/ X11/xprofile: added bar.sh aliasrc: just read it color/colors.sh: color environment variables, like wal's cwmrc: font specified as otb swapped oxbar with bar.sh ksh/ completions.ksh: added completions for shortcut functions diraliases: redone with self-references, more complete functions/ pcl: copies password for $1 to selection uses clip if two arguments pct: copies totp for $1 to selection uses clip if two arguments pkg_complete: uses cache diralias kshrc: added functions command fixed ensuring existence of HISTFILE's dir nvim/init.vim: deleted, no longer used vis/ themes/causalagency.lua: good colorscheme for vis themes/fake256.lua: scrapped visrc.lua: removed change-256color disable added cul nu ai youtube-dl/ config, config-music: fixed output dir zathura/zathurarc: specified cozette otb data/ applications/text.desktop now uses xterm and vis man/man7/user-hier.7 based off hier(7), describes structure of .. home directory
Diffstat (limited to 'config/nvim/init.vim')
-rw-r--r-- | config/nvim/init.vim | 107 |
1 files changed, 0 insertions, 107 deletions
diff --git a/config/nvim/init.vim b/config/nvim/init.vim deleted file mode 100644 index 64e6dfe..0000000 --- a/config/nvim/init.vim +++ /dev/null @@ -1,107 +0,0 @@ -" PLUGINS -" we plug now, babey -if ! filereadable(expand('~/.config/nvim/autoload/plug.vim')) - echo "Downloading junegunn/vim-plug to manage plugins..." - silent !mkdir -p ~/.config/nvim/autoload/ - silent !curl "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim" > ~/.config/nvim/autoload/plug.vim -endif -call plug#begin('~/.local/share/nvim/plugged') -" MatchTag -Plug 'gregsexton/matchtag' -" lightline.vim -Plug 'itchyny/lightline.vim' -" vim-fugitive -Plug 'tpope/vim-fugitive' -" vim-gitgutter -Plug 'airblade/vim-gitgutter' -" vim-surround -Plug 'tpope/vim-surround' -" JsBeautify -Plug 'maksimr/vim-jsbeautify' -" syntax checking -Plug 'vim-syntastic/syntastic' -" lf integration -Plug 'ptzz/lf.vim' -" req for lf.vim -Plug 'rbgrouleff/bclose.vim' -"""plugin graveyard -" END PLUGINS -"" recognize color tags -"Plug 'lilydjwg/colorizer' -"" VimCompletesMe -"Plug 'ajh17/VimCompletesMe' -call plug#end() - -" end of vim-plug related lines - -colo zellner - -" productivity binds - -" unbind arrow keys like some kind of neurotic chucklefuck -noremap <Up> <NOP> -noremap <Down> <NOP> -noremap <Left> <NOP> -noremap <Right> <NOP> -inoremap <Up> <NOP> -inoremap <Down> <NOP> -inoremap <Left> <NOP> -inoremap <Right> <NOP> - -"" JsBeautify binds -autocmd FileType javascript noremap <buffer> <c-f> :call JsBeautify()<cr> -" for json -autocmd FileType json noremap <buffer> <c-f> :call JsonBeautify()<cr> -" for jsx -autocmd FileType jsx noremap <buffer> <c-f> :call JsxBeautify()<cr> -" for html -autocmd FileType html noremap <buffer> <c-f> :call HtmlBeautify()<cr> -" for css or scss -autocmd FileType css noremap <buffer> <c-f> :call CSSBeautify()<cr> -"" and for visual mode: -autocmd FileType javascript vnoremap <buffer> <c-f> :call RangeJsBeautify()<cr> -" for json -autocmd FileType json vnoremap <buffer> <c-f> :call RangeJsonBeautify()<cr> -" for jsx -autocmd FileType jsx vnoremap <buffer> <c-f> :call RangeJsxBeautify()<cr> -" for html -autocmd FileType html vnoremap <buffer> <c-f> :call RangeHtmlBeautify()<cr> -" for css or scss -autocmd FileType css vnoremap <buffer> <c-f> :call RangeCSSBeautify()<cr> - -" syntastic config -set statusline+=%#warningmsg# -set statusline+=%{SyntasticStatuslineFlag()} -set statusline+=%* - -let g:syntastic_always_populate_loc_list = 1 -let g:syntastic_auto_loc_list = 1 -let g:syntastic_check_on_open = 1 -let g:syntastic_check_on_wq = 0 - -let g:syntastic_aggregate_errors = 1 -let g:syntastic_c_compiler = "cc" - -" lightline config -set noshowmode -let g:lightline = { - \ 'colorscheme': 'selenized_dark', - \ } - -" lf config -let g:lf_replace_netrw = 1 - -" betterize -set path+=** - -cno w!! exe 'sil! w !doas tee % >/dev/null' <bar> e! -nno <space> :noh<return><space> -" add a ctags shortcut like a shitty goblin -com! MakeTags !ctags ./* -" calcurse notes should be treated as markdown -autocmd BufRead,BufNewFile /tmp/calcurse* set filetype=markdown -autocmd BufRead,BufNewFile ~/.local/share/calcurse/notes/* set filetype=markdown -" ksh should work -autocmd FileType ksh let g:is_kornshell = 1 -" good folds -set foldmethod=marker |