Merge branch 'main' of git.sr.ht:~jswank/dotfiles

This commit is contained in:
Jason Swank 2023-11-11 12:41:05 -05:00
commit 60ba26d64f
7 changed files with 19 additions and 7 deletions

3
.gitmodules vendored
View File

@ -4,3 +4,6 @@
[submodule "nvim/.config/nvim/pack/bundle/start/vim-snippets"] [submodule "nvim/.config/nvim/pack/bundle/start/vim-snippets"]
path = 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 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

5
git/.gitconfig Normal file
View File

@ -0,0 +1,5 @@
[init]
defaultBranch = main
[user]
name = Jason Swank
email = jswank@

View File

@ -48,7 +48,7 @@ set path+=**
" netrw config " netrw config
let g:netrw_banner=0 " disable annoying banner 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_altv=1 " open splits to the right
let g:netrw_liststyle=3 " tree view let g:netrw_liststyle=3 " tree view
let g:netrw_list_hide=netrw_gitignore#Hide() let g:netrw_list_hide=netrw_gitignore#Hide()
@ -59,6 +59,10 @@ let g:netrw_list_hide.=',\(^\|\s\s\)\zs\.\S\+'
" - <CR>/v/t to open in an h-split/v-split/tab " - <CR>/v/t to open in an h-split/v-split/tab
" - check |netrw-browse-maps| for more mappings " - check |netrw-browse-maps| for more mappings
" fzf-lua
nnoremap <c-p> <cmd>lua require('fzf-lua').files()<CR>
nnoremap <c-\> <cmd>lua require('fzf-lua').buffers()<CR>
nnoremap <c-g> <cmd>lua require('fzf-lua').grep()<CR>
" "
" GO stuff " GO stuff

@ -0,0 +1 @@
Subproject commit e1046726cf0cedf15ae0ff40537a421b79968c3e

View File

@ -5,9 +5,7 @@ ForwardAgent yes
NoHostAuthenticationForLocalhost yes NoHostAuthenticationForLocalhost yes
HashKnownHosts no HashKnownHosts no
IdentityFile ~/.ssh/id_ed25519 IdentityFile ~/.ssh/id_ed25519
IdentitiesOnly yes #IdentitiesOnly no
# Include codespace-config
Include ~/.config/pm/*/ssh_config
Include scalene-config Include scalene-config
Include infinite-config Include infinite-config

View File

@ -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 FZF_DEFAULT_OPTS="--multi --height=40% --layout=reverse"
export GOPATH=/home/jswank/go export GOPATH=~/go
# doesn't work on arch for tmux # doesn't work on arch for tmux
path+=('/home/jswank/bin') path+=(~/bin)
path+=(~/.local/bin)
path+=($GOPATH/bin) path+=($GOPATH/bin)
export PATH export PATH