Small updates to vim and zsh configs
parent
d08e9a6001
commit
f3bf0d8de6
|
@ -310,7 +310,7 @@ noremap <leader>gf :GFiles<CR>
|
|||
noremap <leader>rg :Rg<CR>
|
||||
|
||||
command! -bang -nargs=? -complete=dir Files
|
||||
\ call fzf#vim#files(<q-args>, {'options': ['--layout=reverse', '--info=inline', '--preview', 'bat --style=numbers --color==always --line-range :100 {}']}, <bang>0)
|
||||
\ call fzf#vim#files(<q-args>, {'options': ['--layout=reverse', '--info=inline', '--preview', 'bat --style=numbers --color=always --line-range :100 {}']}, <bang>0)
|
||||
" }}}
|
||||
" {{{ buffer handling
|
||||
" buffer close
|
||||
|
|
|
@ -82,7 +82,7 @@
|
|||
},
|
||||
"[rust]": {
|
||||
"editor.formatOnSave": true,
|
||||
"editor.defaultFormatter": "matklad.rust-analyzer"
|
||||
"editor.defaultFormatter": "rust-lang.rust-analyzer"
|
||||
},
|
||||
"workbench.editorAssociations": {
|
||||
"*.ipynb": "jupyter.notebook.ipynb"
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 53863e7b3ff0c2e2816e90dab3d870adebdf49c7
|
||||
Subproject commit b4f9698733d7b29cc495e649e26fd6c3a5dcfcae
|
|
@ -65,6 +65,8 @@ source $ZSH/oh-my-zsh.sh
|
|||
|
||||
# Customize to your needs...
|
||||
export EDITOR=/usr/bin/vim
|
||||
export OPENAI_API_KEY=$(keyring get openai-api-key felixm)
|
||||
export TERM="xterm-256color" # required for st to work properly in some situations
|
||||
|
||||
# add to path
|
||||
if [[ $USER == "felixm" ]]
|
||||
|
@ -73,7 +75,3 @@ then
|
|||
path=($path /home/felixm/dot/bin)
|
||||
fi
|
||||
|
||||
# Let everyone now we are using a proper terminal.
|
||||
# If I don't use this the shell behaves weird on servers accessed via ssh.
|
||||
export TERM="xterm-256color"
|
||||
|
||||
|
|
Loading…
Reference in New Issue