Last active
May 24, 2022 19:32
-
-
Save heywoodlh/eacbd1ee397b9afb8fdcac52d790cf56 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
imports: | |
base16-shell: dotfiles/config/base16-shell | |
choose-file-manager: home/bin/ | |
choose-launcher: home/bin/ | |
choose-buku: home/bin/ | |
vim-airline: dotfiles/vim/bundle/airline | |
vim-airline-themes: dotfiles/vim/bundle/airline-themes | |
vim-auto-pairs: dotfiles/vim/bundle/auto-pairs | |
vim-base16: dotfiles/vim/bundle/base16 | |
vim-colorizer: dotfiles/vim/bundle/colorizer | |
vim-nerdtree: dotfiles/vim/bundle/nerdtree | |
vim-nord: dotfiles/vim/bundle/nord | |
vim-pathogen: dotfiles/vim/ | |
vim-sensible: dotfiles/vim/bundle/sensible | |
vim-sneak: dotfiles/vim/bundle/sneak | |
vim-sudoedit: dotfiles/vim/bundle/sudoedit | |
vim-supertab: dotfiles/vim/bundle/supertab | |
vim-terraform: dotfiles/vim/bundle/terraform | |
vim-which-key: dotfiles/vim/bundle/which-key | |
zsh-autoupdate: dotfiles/oh-my-zsh/custom/plugins/autoupdate | |
zsh-autosuggestions: dotfiles/oh-my-zsh/custom/plugins/zsh-autosuggestions | |
zsh-completions: dotfiles/oh-my-zsh/custom/plugins/zsh-completions | |
zsh-powerlevel10k: dotfiles/oh-my-zsh/custom/themes/powerlevel10k | |
git module base16-shell: | |
url: https://github.com/chriskempson/base16-shell | |
curl module choose-file-manager: | |
url: https://gist.githubusercontent.com/heywoodlh/2f3f3bd83bb32719cb89ec3ee137fb5b/raw/9c71f70a3094072e4527fa2e7ebd0ccfaad133c2/choose-file-manager.sh | |
executable: choose-file-manager.sh | |
curl module choose-launcher: | |
url: https://gist.githubusercontent.com/heywoodlh/2f3f3bd83bb32719cb89ec3ee137fb5b/raw/e95fb35c7ff6c3e02a5719d5baec722b8722a947/choose-launcher.sh | |
executable: choose-launcher.sh | |
curl module choose-buku: | |
url: https://gist.githubusercontent.com/heywoodlh/2f3f3bd83bb32719cb89ec3ee137fb5b/raw/4d181fe7b7da227399d1932494725a06b41f28ae/choose-buku.sh | |
executable: choose-buku.sh | |
git module vim-airline: | |
url: https://github.com/vim-airline/vim-airline | |
git module vim-airline-themes: | |
url: https://github.com/vim-airline/vim-airline-themes | |
git module vim-auto-pairs: | |
url: https://github.com/jiangmiao/auto-pairs | |
git module vim-base16: | |
url: https://github.com/chriskempson/base16-vim | |
git module vim-colorizer: | |
url: https://github.com/lilydjwg/colorizer | |
git module vim-fugitive: | |
url: https://github.com/tpope/vim-fugitive | |
git module vim-nerdtree: | |
url: https://github.com/preservim/nerdtree | |
git module vim-nord: | |
url: https://github.com/arcticicestudio/nord-vim | |
git module vim-pathogen: | |
url: https://github.com/tpope/vim-pathogen | |
git module vim-sensible: | |
url: https://github.com/tpope/vim-sensible | |
git module vim-sudoedit: | |
url: https://github.com/chrisbra/SudoEdit.vim | |
git module vim-sneak: | |
url: https://github.com/justinmk/vim-sneak | |
git module vim-supertab: | |
url: https://github.com/ervandew/supertab | |
git module vim-terraform: | |
url: https://github.com/hashivim/vim-terraform | |
git module vim-which-key: | |
url: https://github.com/liuchengxu/vim-which-key | |
git module zsh-autoupdate: | |
url: https://github.com/TamCore/autoupdate-oh-my-zsh-plugins | |
#git module zsh-fast-syntax-highlighting: | |
#url: https://github.com/zdharma/fast-syntax-highlighting | |
git module zsh-autosuggestions: | |
url: https://github.com/zsh-users/zsh-autosuggestions | |
git module zsh-completions: | |
url: https://github.com/zsh-users/zsh-completions | |
git module zsh-powerlevel10k: | |
url: https://github.com/romkatv/powerlevel10k |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
execute pathogen#infect() | |
syntax on | |
filetype plugin indent on | |
let g:mapleader = "\<Space>" | |
let g:maplocalleader = ',' | |
nnoremap <silent> <leader> :<c-u>WhichKey '<Space>'<CR> | |
nnoremap <silent> <localleader> :<c-u>WhichKey ','<CR> | |
map <C-n> :NERDTreeToggle<CR> | |
set number | |
" Start Nerdtree only if width is greater than or equal to 80 columns | |
if winwidth(0) >= 100 | |
let g:NERDTreeWinSize=winwidth(0)/6 | |
autocmd VimEnter * NERDTree | wincmd p | |
endif | |
" Start term only if height is greater than or equal to 35 rows | |
if winheight(0) >= 35 | |
set termwinsize=10x0 | |
set confirm | |
set splitbelow | |
term ++kill=term | |
end | |
nnoremap zz :wa <bar> :qa!<CR> | |
map <silent> <C-y> :w !pbcopy<CR> | |
command NoComments %s/#.*\n//g | |
command GitAdd :w! <bar> !git add % | |
command GitCommit !echo "Commit message: " && read gitmessage && git commit -m ${gitmessage} | |
command GitPush !git push | |
nnoremap ga :GitAdd<CR> | |
nnoremap gc :GitCommit<CR> | |
nnoremap gp :GitPush<CR> | |
nnoremap nc :NoComments<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment