remove unneeded kap mappings and remove cursorline
This commit is contained in:
parent
2b56227858
commit
2870de965f
@ -5,7 +5,6 @@ local global = vim.g
|
|||||||
-- look and feel
|
-- look and feel
|
||||||
vim.opt.shortmess:append({ I = true }) -- remove intro message
|
vim.opt.shortmess:append({ I = true }) -- remove intro message
|
||||||
opt.relativenumber = true
|
opt.relativenumber = true
|
||||||
opt.cursorline = true
|
|
||||||
opt.number = true
|
opt.number = true
|
||||||
opt.showmode = false
|
opt.showmode = false
|
||||||
opt.scrolloff = 10
|
opt.scrolloff = 10
|
||||||
|
@ -33,11 +33,8 @@ vim.api.nvim_set_keymap('', '<C-n>', ':NvimTreeToggle<cr>', {silent = true})
|
|||||||
-- toggle formatter
|
-- toggle formatter
|
||||||
vim.api.nvim_set_keymap('', '<leader>fm', ':Neoformat<cr>', {silent = true})
|
vim.api.nvim_set_keymap('', '<leader>fm', ':Neoformat<cr>', {silent = true})
|
||||||
vim.api.nvim_set_keymap('', '<leader>/', ':CommentToggle<cr>', {silent = true})
|
vim.api.nvim_set_keymap('', '<leader>/', ':CommentToggle<cr>', {silent = true})
|
||||||
vim.api.nvim_set_keymap('', '<leader>r', ':SnipRun<cr>', {silent = true})
|
|
||||||
vim.api.nvim_set_keymap('', '<leader>b', ':HopWordBC<cr>', {silent = true})
|
vim.api.nvim_set_keymap('', '<leader>b', ':HopWordBC<cr>', {silent = true})
|
||||||
vim.api.nvim_set_keymap('', '<leader>w', ':HopWordAC<cr>', {silent = true})
|
vim.api.nvim_set_keymap('', '<leader>w', ':HopWordAC<cr>', {silent = true})
|
||||||
vim.api.nvim_set_keymap('', '<leader>k', ':HopLineStartBC<cr>', {silent = true})
|
|
||||||
vim.api.nvim_set_keymap('', '<leader>j', ':HopLineStartAC<cr>', {silent = true})
|
|
||||||
vim.api.nvim_set_keymap('', '<leader>tf', ':Telescope fd<cr>', {silent = true})
|
vim.api.nvim_set_keymap('', '<leader>tf', ':Telescope fd<cr>', {silent = true})
|
||||||
vim.api.nvim_set_keymap('', '<leader>tb', ':Telescope buffers<cr>',
|
vim.api.nvim_set_keymap('', '<leader>tb', ':Telescope buffers<cr>',
|
||||||
{silent = true})
|
{silent = true})
|
||||||
|
Loading…
Reference in New Issue
Block a user