diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-04-06 22:00:06 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-04-06 22:00:06 +0200 |
commit | f99c5dd1765f1dc91f6f0133c6dfb32d1827eae6 (patch) | |
tree | ad714a724bc8d924a3379168e539533c4f4ac81b | |
parent | 83b10117963dff6ff2f7f147a82e7471ad5ac0ab (diff) |
Autocompletion for poetry and kubectl, minor change in nvim, wallpapers
-rw-r--r-- | .config/nvim/lua/_utils/init.lua | 3 | ||||
-rw-r--r-- | .config/zsh/plugins.zsh | 6 | ||||
-rw-r--r-- | wallpapers/1ej6nhijnz351.jpg | bin | 0 -> 1356993 bytes |
3 files changed, 7 insertions, 2 deletions
diff --git a/.config/nvim/lua/_utils/init.lua b/.config/nvim/lua/_utils/init.lua index bed87a3..43bbf2e 100644 --- a/.config/nvim/lua/_utils/init.lua +++ b/.config/nvim/lua/_utils/init.lua @@ -36,9 +36,8 @@ _utils.define_augroups({ numbertoggle = { {'BufEnter,FocusGained,InsertLeave', '*', 'set relativenumber'}, {'BufLeave,FocusLost,InsertEnter', '*', 'set norelativenumber'}, - } + }, }) - -- Add this to lightbulb, java makes this annoying tho -- autocmd CursorHold,CursorHoldI * lua require'nvim-lightbulb'.update_lightbulb() diff --git a/.config/zsh/plugins.zsh b/.config/zsh/plugins.zsh index b705270..2d1f607 100644 --- a/.config/zsh/plugins.zsh +++ b/.config/zsh/plugins.zsh @@ -1,3 +1,9 @@ +# Poetry autocompletion +fpath+=~/.zfunc + +# kubectl autocompletion +[[ $commands[kubectl] ]] && source <(kubectl completion zsh) + # FZF source /usr/share/fzf/key-bindings.zsh source /usr/share/fzf/completion.zsh diff --git a/wallpapers/1ej6nhijnz351.jpg b/wallpapers/1ej6nhijnz351.jpg Binary files differnew file mode 100644 index 0000000..f38689b --- /dev/null +++ b/wallpapers/1ej6nhijnz351.jpg |