Tools
Vim
- See my
.vimrchere - Vim cheatsheet
Commands and Shortcuts
- Ditch vimwiki
- Generate index.md
<c-r>=glob('**/*'):help jumplist- Todo consolidations
- Manage all todos
grep -Ri TODO . > todos
Editing Techniques
f: Move forward to character; ,: Navigate forward and backwardd: Deletedt_: Delete till characterdi{: Delete inside bracesda{: Delete around bracesdip: Delete paragraph
- Check out relative line number (
:set relativenumber)
File Navigation
%: Jump to matching parenthesis- Fuzzy file find:
:e src/**/file_na<tab>
Navigation and Window Management
Ctrl + ^: Switch to last fileCtrl + O/I: Navigate through jump list- Bookmarks:
m<key>: Set bookmark (use uppercase for global)'<key>: Jump to bookmark
- Window operations (
Ctrl + W):v: Split verticallys: Split horizontally
Tmux
- See my
.tmux.confhere - Tmux cheatsheet
Common Issues
- UTF chars and symbols not loading correctly.
-
Start tmux in UTF-8 support enabled mode.
tmux -u -
Set
LC_TYPEbefore starting tmuxexport LC_CTYPE=C.UTF-8
-