diff --git a/.config/nvim/legacy.vim b/.config/nvim/legacy.vim index 87ed701..0782ea6 100644 --- a/.config/nvim/legacy.vim +++ b/.config/nvim/legacy.vim @@ -196,5 +196,8 @@ nnoremap t :TableFormat let g:coc_disable_startup_warning = 1 set mouse= +" Lua config +luafile $HOME/.config/nvim/lua/telescope-mappings.lua + " Add treesitter highlight lua require'nvim-treesitter.configs'.setup{highlight={enable=true}} diff --git a/.config/nvim/lua/telescope-mappings.lua b/.config/nvim/lua/telescope-mappings.lua new file mode 100644 index 0000000..6359113 --- /dev/null +++ b/.config/nvim/lua/telescope-mappings.lua @@ -0,0 +1,10 @@ +local actions = require('telescope.actions') +require("telescope").setup{ + defaults = { + mappings = { + i = { + [""] = actions.select_horizontal, + } + } + } +}