diff --git a/.skhdrc b/.skhdrc index 6c7daa0..b29006b 100755 --- a/.skhdrc +++ b/.skhdrc @@ -1,5 +1,5 @@ # open terminal -cmd - return : /Applications/kitty.app/Contents/MacOS/kitty --single-instance -d ~ +cmd - return : /usr/bin/open -n -a iterm # focus window alt - h : yabai -m window --focus west diff --git a/.vimrc b/.vimrc index 1c1e2f7..898dcd5 100644 --- a/.vimrc +++ b/.vimrc @@ -37,6 +37,7 @@ Plug 'HerringtonDarkholme/yats.vim' Plug 'MaxMEllon/vim-jsx-pretty' Plug 'fsharp/vim-fsharp', { 'do': './make' } Plug 'hashivim/vim-terraform' +Plug 'PProvost/vim-ps1' call plug#end() @@ -47,10 +48,13 @@ set lazyredraw set hlsearch set mouse=a set number -set textwidth=100 set noshowmode set background=dark set nowrap +set tabstop=2 +set shiftwidth=0 +set expandtab +set textwidth=100 nnoremap :FZF @@ -69,6 +73,9 @@ nnoremap we :VimwikiAll2HTML nnoremap z :Goyo nnoremap Z :Goyo 110x100% +" Allows you to use // in order to search for the visually selected text +vnoremap // y/\V=escape(@",'/\') + " next line is necessary to prevent background rendering bug with kitty term let &t_ut='' @@ -132,7 +139,7 @@ augroup END augroup wiki_ft au! - autocmd BufNewFile,BufRead *.wiki set tabstop=20 shiftwidth=0 textwidth=79 expandtab + autocmd BufNewFile,BufRead *.wiki set textwidth=79 autocmd BufNewFile,BufRead *.wiki HardPencil augroup END