- https://github.com/tmux/tmux
- https://github.com/tmuxinator/tmuxinator
- https://github.com/thewtex/tmux-mem-cpu-load/
- CTRL+A -> N - formats a json from a clipboard
- CTRL+A -> X - formats an xml from a clipboard
Tmux conf fragment:
bind X new-window -n vim 'vim -c ":call FormatXmlFromClipboard()"'
bind N new-window -n vim 'vim -c ":call FormatJsonFromClipboard()"'
and Vim functions which are performing these formatting:
function! FormatXmlFast()
:silent! %s/</</g
:silent! %s/>/>/g
:silent! %s/"/"/g
:silent! %s/&amp;/\&/g
:silent! %s/&/\&/g
:silent! %s/>[ ]*</></g
:silent! %s/></>\r</g
set filetype=xml
:normal gg=G
endfunction
function! FormatXmlFromClipboard()
:normal "*p
:call FormatXmlFast()
endfunction
function! FormatJsonFromClipboard()
:normal "*p
:silent! %!python -m json.tool
set filetype=json
endfunction
- https://github.com/BurntSushi/ripgrep
- https://github.com/ggreer/the_silver_searcher
- https://github.com/beyondgrep/ack2
- https://github.com/junegunn/fzf
- CDPATH - https://symflower.com/en/company/blog/2021/cdpath/
- autocd - https://zsh.sourceforge.io/Intro/intro_16.html
- https://dev.yorhel.nl/ncdu
- to_json
to_json() {
underscore print --color -
}
- to_xml
to_xml() {
xmllint --format - | highlight --out-format=xterm256 --syntax=xml
}
- https://github.com/w0rp/ale
- http://ctags.sourceforge.net
- https://github.com/junegunn/fzf.vim
- https://github.com/tpope/vim-commentary
- https://github.com/tpope/vim-dispatch
- https://github.com/tpope/vim-endwise
- https://github.com/tpope/vim-fugitive
- https://github.com/tpope/vim-repeat
- https://github.com/tpope/vim-unimpaired
- https://github.com/tpope/vim-vinegar
- https://github.com/jremmen/vim-ripgrep
- https://github.com/christoomey/vim-tmux-navigator
- https://github.com/thoughtbot/vim-rspec