diff --git a/.gitmodules b/.gitmodules index 8d64deb..cc1eb92 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,3 +4,6 @@ [submodule "nvim/.config/nvim/pack/bundle/start/vim-snippets"] path = nvim/.config/nvim/pack/bundle/start/vim-snippets url = https://github.com/honza/vim-snippets.git +[submodule "nvim/.config/nvim/pack/bundle/start/fzf-lua"] + path = nvim/.config/nvim/pack/bundle/start/fzf-lua + url = https://github.com/ibhagwan/fzf-lua.git diff --git a/install.sh b/install.sh index 6a4d1f5..d7a9971 100755 --- a/install.sh +++ b/install.sh @@ -12,11 +12,10 @@ rm -f $HOME/.zshrc $HOME/.profile >/dev/null 2>&1 find * -maxdepth 0 -type d | xargs -I{} $STOW -t "$HOME" {} -func encrypt() { - openssl enc -e -aes256 -base64 -in $1 -} - -func decrypt() { - openssl enc -d -aes256 -base64 -in $1 -} - +#func encrypt() { +# openssl enc -e -aes256 -base64 -in $1 +#} +# +#func decrypt() { +# openssl enc -d -aes256 -base64 -in $1 +#} diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index 3f8478f..5ac9e70 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -48,7 +48,7 @@ set path+=** " netrw config let g:netrw_banner=0 " disable annoying banner -let g:netrw_browse_split=4 " open in prior window +let g:netrw_browse_split=0 " open in prior window let g:netrw_altv=1 " open splits to the right let g:netrw_liststyle=3 " tree view let g:netrw_list_hide=netrw_gitignore#Hide() @@ -59,6 +59,10 @@ let g:netrw_list_hide.=',\(^\|\s\s\)\zs\.\S\+' " - /v/t to open in an h-split/v-split/tab " - check |netrw-browse-maps| for more mappings +" fzf-lua +nnoremap lua require('fzf-lua').files() +nnoremap lua require('fzf-lua').buffers() +nnoremap lua require('fzf-lua').grep() " " GO stuff diff --git a/nvim/.config/nvim/pack/bundle/start/fzf-lua b/nvim/.config/nvim/pack/bundle/start/fzf-lua new file mode 160000 index 0000000..e104672 --- /dev/null +++ b/nvim/.config/nvim/pack/bundle/start/fzf-lua @@ -0,0 +1 @@ +Subproject commit e1046726cf0cedf15ae0ff40537a421b79968c3e diff --git a/zsh/.zshenv b/zsh/.zshenv index 1276517..3af7000 100644 --- a/zsh/.zshenv +++ b/zsh/.zshenv @@ -11,10 +11,11 @@ export LESS=RX # R for ANSI color sequences, X to not clear screen on exit export FZF_DEFAULT_OPTS="--multi --height=40% --layout=reverse" -export GOPATH=/home/jswank/go +export GOPATH=~/go # doesn't work on arch for tmux -path+=('/home/jswank/bin') +path+=(~/bin) +path+=(~/.local/bin) path+=($GOPATH/bin) export PATH