smoothscrolling and visual movement
This commit is contained in:
parent
aa9dd5f2d8
commit
f21bde5866
2 changed files with 8 additions and 1 deletions
|
@ -4,6 +4,7 @@ vim.g.mapleader = ' '
|
|||
vim.cmd("set tabstop=4")
|
||||
vim.cmd("set softtabstop=0")
|
||||
vim.cmd("set shiftwidth=0")
|
||||
vim.cmd("set wrap smoothscroll")
|
||||
|
||||
vim.keymap.set("n", "<leader>+x", ":!chmod +x %<CR>", {silent = true})
|
||||
vim.keymap.set("n", "<leader>+r", ":!chmod +r %<CR>", {silent = true})
|
||||
|
@ -27,3 +28,6 @@ vim.opt.scrolloff = 6
|
|||
|
||||
vim.keymap.set("v", "<leader>yo", ":yank +", {silent=true})
|
||||
vim.keymap.set("v", "<leader>ya", ":yank *", {silent=true})
|
||||
|
||||
vim.cmd("nnoremap j gj")
|
||||
vim.cmd("nnoremap k gk")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue