diff --git a/editors/nvim/config/init.lua b/editors/nvim/config/init.lua index daf983d..6416005 100644 --- a/editors/nvim/config/init.lua +++ b/editors/nvim/config/init.lua @@ -15,6 +15,10 @@ vim.opt.cursorline = true vim.opt.compatible = false +-- ignores search case unless capital is used +vim.opt.smartcase = true +vim.opt.hlsearch = true + -- colorscheme and syntax settings vim.cmd([[ syntax enable diff --git a/editors/nvim/config/lua/fuzzy.lua b/editors/nvim/config/lua/fuzzy.lua index 995e3dc..7d59515 100644 --- a/editors/nvim/config/lua/fuzzy.lua +++ b/editors/nvim/config/lua/fuzzy.lua @@ -7,5 +7,4 @@ require('telescope').setup({ }) local builtin = require('telescope.builtin') - vim.keymap.set('n','f', builtin.find_files, {}) diff --git a/shells/zsh/zshrc b/shells/zsh/zshrc index 97ee9ed..bac36ea 100644 --- a/shells/zsh/zshrc +++ b/shells/zsh/zshrc @@ -159,7 +159,8 @@ export FZF_DEFAULT_OPTS='--layout=reverse --border' #alias bat="batcat" Only needed on ubuntu/debian # vim wiki alias -alias vimwiki="nvim $HOME/vimwiki/index.md" +alias vimwiki="nvim '+cd %:p:h' $HOME/vimwiki/index.md" +#alias vimwiki="cd $HOME/vimwiki && nvim index.md" # yt-dlp alias for simplicity alias yt-vid="yt-dlp -P $HOME/media/video" diff --git a/test.md b/test.md deleted file mode 100644 index e69de29..0000000