Why not oh-my-zsh? Well, it was super slow with the default config. Starship is a light and fast wrapper for zsh.
Clone this repo into ./config so that you have ./config/myconfig. Run setup.sh.
My config is originally based on jdhao/nvim-config.
A place for me to put keybindings for reference...until I know them by heart...
- To see full path of current open buffer:
1 CTRL-G*yw: yank (copy) current word starting from cursor position within word. yaw: yank (copy) current word regardless of where the cursor is located in the word.- Edit a pane in a new tab:
:ls, then:tab sb 2if you wish to edit pane 2 to a new tab.- The tab's position can be dictated with
:0tab sb 2to move pane 2 to a tab which will be first in all the tabs.
<leader>S: Search-and-replace project-wide with Spectre
find . -type d -exec echo "Hello, '{}'" \;
Hello, '.'
Hello, './.libs'
Hello, './include'
Hello, './autom4te.cache'
Hello, './build'
Hello, './modules'Run black on all files, excluding a certain dir: find . -type f -name "*.py" -not -path "*migrations*" -exec black '{}' \;
Run Black on all changed git files: git diff --name-only | xargs -I{} black {}