(vim) Align split shortcuts for Telescope search
This commit is contained in:
parent
5215c6d006
commit
d29aff94c2
@ -196,5 +196,8 @@ nnoremap <leader>t :TableFormat<CR>
|
|||||||
let g:coc_disable_startup_warning = 1
|
let g:coc_disable_startup_warning = 1
|
||||||
set mouse=
|
set mouse=
|
||||||
|
|
||||||
|
" Lua config
|
||||||
|
luafile $HOME/.config/nvim/lua/telescope-mappings.lua
|
||||||
|
|
||||||
" Add treesitter highlight
|
" Add treesitter highlight
|
||||||
lua require'nvim-treesitter.configs'.setup{highlight={enable=true}}
|
lua require'nvim-treesitter.configs'.setup{highlight={enable=true}}
|
||||||
|
10
.config/nvim/lua/telescope-mappings.lua
Normal file
10
.config/nvim/lua/telescope-mappings.lua
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
local actions = require('telescope.actions')
|
||||||
|
require("telescope").setup{
|
||||||
|
defaults = {
|
||||||
|
mappings = {
|
||||||
|
i = {
|
||||||
|
["<C-b>"] = actions.select_horizontal,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user