update cursorline and fix keymap
This commit is contained in:
parent
e5664d42ed
commit
6e5fa5adb9
3 changed files with 4 additions and 7 deletions
|
@ -38,9 +38,6 @@ vim.api.nvim_set_keymap("n", "<leader>Y", "\"+Y", {})
|
|||
-- paste from system clipboard
|
||||
vim.api.nvim_set_keymap("n", "<leader>p", "\"+p", {})
|
||||
|
||||
-- opening explorer
|
||||
vim.api.nvim_set_keymap("n", "<leader>E", ":20Lexplore<cr>", {})
|
||||
|
||||
-- make current file (un)executable
|
||||
vim.api.nvim_set_keymap("n", "<leader>mx", ":exec 'w'<cr> <bar> <cmd>!chmod +x %<cr>", { silent = true })
|
||||
vim.api.nvim_set_keymap("n", "<leader>mX", ":exec 'w'<cr> <bar> <cmd>!chmod -x %<cr>", { silent = true })
|
||||
|
@ -53,4 +50,4 @@ vim.api.nvim_set_keymap("n", "<leader>vl", ":exec 'w'<cr> <bar> <cmd>loadview <c
|
|||
vim.api.nvim_set_keymap("n", "<leader><leader>", ":exec 'w'<cr>", {silent = true})
|
||||
|
||||
-- <leader>r for redo
|
||||
vim.api.nvim_set_keymap("n", "<leader>r", ":exec 'w' <cr>", {silent = true})
|
||||
vim.api.nvim_set_keymap("n", "<leader>r", ":redo <cr>", {silent = true})
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
-- Settings
|
||||
|
||||
-- cursor
|
||||
vim.api.nvim_set_option("guicursor","n-v-c-sm:hor20-Cursor,i-ci-ve:ver80-iCursor,r-cr-o:hor40,a:blinkwait700-blinkoff400-blinkon250")
|
||||
vim.api.nvim_set_option("guicursor","n-v-c-sm:hor100-Cursor,i-ci-ve:ver100-iCursor,r-cr-o:hor40,a:blinkwait700-blinkoff400-blinkon250")
|
||||
|
||||
-- disable mouse
|
||||
vim.api.nvim_set_option("mouse","")
|
||||
|
|
|
@ -25,7 +25,7 @@ return {
|
|||
-- color of vertical split line
|
||||
vim.api.nvim_set_hl(0, "VertSplit", { bg = "#141617", fg = "#141617" })
|
||||
-- color of the cursorline and cursorlinenumber
|
||||
vim.api.nvim_set_hl(0, "Cursorline", { bg = "#2d353b" })
|
||||
vim.api.nvim_set_hl(0, "Cursorline", { bg = "#3a464c" })
|
||||
vim.api.nvim_set_hl(0, "CursorLineNr", { bold = true, fg = "#dbbc7f" })
|
||||
-- color of Floats and FloatBorders
|
||||
vim.api.nvim_set_hl(0, "NormalFloat", { bg = none, fg = none })
|
||||
|
@ -48,7 +48,7 @@ return {
|
|||
-- color of vertical split line
|
||||
vim.api.nvim_set_hl(0, "VertSplit", { bg = "#141617", fg = "#141617" })
|
||||
-- color of the cursorline and cursorlinenumber
|
||||
vim.api.nvim_set_hl(0, "Cursorline", { bg = "#2d353b" })
|
||||
vim.api.nvim_set_hl(0, "Cursorline", { bg = "#3c464c" })
|
||||
vim.api.nvim_set_hl(0, "CursorLineNr", { bold = true, fg = "#dbbc7f" })
|
||||
-- color of Floats and FloatBorders
|
||||
vim.api.nvim_set_hl(0, "NormalFloat", { bg = none, fg = none })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue