Browse Source

some small changes

imac
Juni Kim 2 years ago
parent
commit
e536699b5f
  1. 2
      lua/junikim/options.lua
  2. 3
      lua/junikim/remap.lua

2
lua/junikim/options.lua

@ -16,7 +16,7 @@ vim.opt.wrap = false
vim.opt.splitbelow = true
vim.opt.splitright = true
vim.opt.undodir = os.getenv("HOME") .. "/.vim/undodir"
vim.opt.undodir = vim.fn.stdpath('data') .. "/undodir"
vim.opt.undofile = true
vim.opt.hlsearch = false
vim.opt.incsearch = true

3
lua/junikim/remap.lua

@ -1,8 +1,5 @@
vim.g.mapleader = " "
vim.keymap.set("n", "j", "gj")
vim.keymap.set("n", "k", "gk")
vim.keymap.set("n", "<C-h>", "<C-w>h")
vim.keymap.set("n", "<C-j>", "<C-w>j")
vim.keymap.set("n", "<C-k>", "<C-w>k")

Loading…
Cancel
Save