clone of my dotfiles.ssp.sh
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

lazygit, ranger replacement and others

sspaeti 5cef7c4d 9a915529

+38 -3
+2
Brewfile
··· 24 24 brew "hugo" 25 25 brew "kubernetes-cli" 26 26 brew "lastpass-cli", args: ["HEAD"] 27 + brew "lazygit" 27 28 brew "mdcat" 28 29 brew "node" 29 30 brew "nativefier" ··· 74 75 cask "libreoffice" 75 76 cask "loom" 76 77 cask "mark-text" 78 + cask "meld" 77 79 cask "notion" 78 80 cask "obsidian" 79 81 cask "signal"
+5
backup_dotfiles.sh
··· 42 42 cp ~/.config/kitty/kitty.conf $git/general/dotfiles/kitty/kitty.conf 43 43 cp ~/.config/kitty/gruvbox-kitty.conf $git/general/dotfiles/kitty/gruvbox-kitty.conf 44 44 45 + #ranger 46 + cp ~/.config/ranger/rc.conf $git/general/dotfiles/ranger/rc.conf 47 + 48 + 49 + 45 50 brew bundle dump > $git/general/dotfiles/Brewfile -f 46 51 47 52
+14 -1
nvim/init.vim
··· 38 38 " comment healper 39 39 " Plug 'preservim/nerdcommenter' 40 40 41 + " should be installed out of the box by neovim? 42 + Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} 43 + 41 44 "Plug 'ambv/black' 42 45 Plug 'psf/black', { 'branch': 'stable' } 43 46 Plug 'tpope/vim-fugitive' 47 + Plug 'kdheepak/lazygit.nvim' 44 48 " " telescope requirements... 45 49 " Plug 'nvim-lua/popup.nvim' 46 50 Plug 'nvim-lua/plenary.nvim' ··· 54 58 Plug 'junegunn/fzf.vim' 55 59 56 60 "File Navigation 57 - Plug 'francoiscabrol/ranger.vim' 61 + Plug 'kevinhwang91/rnvimr' "replaces 'francoiscabrol/ranger.vim' 58 62 Plug 'preservim/nerdtree' 59 63 Plug 'Xuyuanp/nerdtree-git-plugin' "git status in nerdtree 60 64 Plug 'ryanoasis/vim-devicons' "add file-icons to nerdtree ··· 325 329 " nnoremap <leader>fh <cmd>Telescope help_tags<cr> 326 330 " nnoremap <C-p> <cmd>Telescope find_files<cr> 327 331 332 + "ranger nvim 333 + nnoremap <leader>f :RnvimrToggl<CR> 334 + " setup mapping to call :LazyGit 335 + nnoremap <silent> <leader>gg :LazyGit<CR> 336 + nnoremap <silent> <leader>lg :LazyGit<CR> 337 + 328 338 nnoremap Y y$ 329 339 " keeping it centered 330 340 nnoremap n nzzzv ··· 340 350 " jumplist mutations 341 351 nnoremap <expr> k (v:count > 5 ? "m'" . v:count : "") . 'k' 342 352 nnoremap <expr> j (v:count > 5 ? "m'" . v:count : "") . 'j' 353 + " binding j and k to gj and gk 354 + nnoremap <expr> j v:count ? (v:count > 5 ? "m'" . v:count : '') . 'j' : 'gj' 355 + nnoremap <expr> k v:count ? (v:count > 5 ? "m'" . v:count : '') . 'k' : 'gk' 343 356 344 357 "Moving text 345 358 vnoremap J :m '>+1<CR>gv=gv
+1
ranger/rc.conf
··· 1 + set show_hidden true
+7
tmux/tmux.conf
··· 35 35 bind -r h select-pane -L 36 36 bind -r l select-pane -R 37 37 38 + # Resize the current pane using Alt + direction 39 + #bind -r M-k resize-pane -U 5 40 + #bind -r M-j resize-pane -D 5 41 + #bind -r M-h resize-pane -L 5 42 + #bind -r M-l resize-pane -R 5 38 43 44 + # Enable mouse mode (tmux 2.1 and above) such as select window 45 + set -g mouse on 39 46 40 47 # Maps <Ctrl>-h to select pane on the left. Vim-like navigation - conflicts a lot with other cmd 41 48 #bind -n C-k select-pane -U
+6
zsh/aliases.shrc
··· 5 5 export EDITOR="nvim" 6 6 alias vim=nvim 7 7 8 + # show hidden files by default 9 + alias ll='ls -la' 10 + 8 11 # that pip install strawberry-graphql[debug-server] will not fail (square brackets are used for globbing: https://stackoverflow.com/a/30539963/5246670) 9 12 alias pip='noglob pip' 10 13 ··· 34 37 alias gpu='git pull' 35 38 alias gf='git fetch' 36 39 alias gcl='git clone' 40 + 41 + alias lg=lazygit 42 + 37 43 38 44 #docker 39 45 alias dkps="docker ps"
+2 -2
zsh/configs.shrc
··· 4 4 [[ -r "/usr/local/etc/profile.d/bash_completion.sh" ]] && . "/usr/local/etc/profile.d/bash_completion.sh" 5 5 6 6 #This will create separate history files in your home directory 7 - MYTTY=`tty` 8 - HISTFILE=$HOME/.bash_history_`basename $MYTTY` 7 + #MYTTY=`tty` 8 + #HISTFILE=$HOME/.bash_history_`basename $MYTTY` 9 9 10 10 # #allow e.g. "pip install -e .[full]" to work -> zsh uses square brackets for globbing / pattern matching. 11 11 # #alias pip='noglob pip'
+1
zsh/paths.shrc
··· 35 35 # export JAVA_LIBRARY_PATH=$JAVA_LIBRARY_PATH:${HADOOP_HOME}/lib/native 36 36 # alias hstart="/usr/local/Cellar/hadoop/3.2.1/sbin/start-all.sh" 37 37 # alias hstop="/usr/local/Cellar/hadoop/3.2.1/sbin/stop-all.sh" 38 +