Skip to content

leomorpho/config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Setup

Why not oh-my-zsh? Well, it was super slow with the default config. Starship is a light and fast wrapper for zsh.

Getting Started

Clone this repo into ./config so that you have ./config/myconfig. Run setup.sh.

Neovim/Vim HelpDesk

My config is originally based on jdhao/nvim-config.

A place for me to put keybindings for reference...until I know them by heart...

Native keybindings

  • 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 2 if you wish to edit pane 2 to a new tab.
    • The tab's position can be dictated with :0tab sb 2 to move pane 2 to a tab which will be first in all the tabs.

Non-native keybindings

  • <leader>S: Search-and-replace project-wide with Spectre

Bash/Zsh HelpDesk

Recursively run CMD on every file in dir

find . -type d -exec echo "Hello, '{}'" \;

Hello, '.'
Hello, './.libs'
Hello, './include'
Hello, './autom4te.cache'
Hello, './build'
Hello, './modules'

CLI tools

Run commands on multiple files

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 {}

About

My dotfiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •