Browse Source

packer and remap

imac
junikimm717 11 months ago
parent
commit
f350c26d3b
  1. 3
      lua/junikim/packer.lua
  2. 9
      lua/junikim/remap.lua

3
lua/junikim/packer.lua

@ -4,7 +4,7 @@ return require('packer').startup(function(use)
-- Packer can manage itself -- Packer can manage itself
use 'wbthomason/packer.nvim' use 'wbthomason/packer.nvim'
use { use {
'nvim-telescope/telescope.nvim', tag = '0.1.1',
'nvim-telescope/telescope.nvim', tag = '0.1.4',
requires = { { 'nvim-lua/plenary.nvim' } } requires = { { 'nvim-lua/plenary.nvim' } }
} }
use { use {
@ -17,6 +17,7 @@ return require('packer').startup(function(use)
) )
use 'nvim-tree/nvim-web-devicons' use 'nvim-tree/nvim-web-devicons'
use { 'romgrk/barbar.nvim', wants = 'nvim-web-devicons' } use { 'romgrk/barbar.nvim', wants = 'nvim-web-devicons' }
use 'hura/vim-asymptote'
use { use {
'nvim-lualine/lualine.nvim', 'nvim-lualine/lualine.nvim',

9
lua/junikim/remap.lua

@ -1,9 +1,5 @@
vim.g.mapleader = " " vim.g.mapleader = " "
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")
vim.keymap.set("n", "<C-l>", "<C-w>l")
vim.keymap.set("i", "<A-a>", "ā") vim.keymap.set("i", "<A-a>", "ā")
vim.keymap.set("i", "<A-e>", "ē") vim.keymap.set("i", "<A-e>", "ē")
@ -51,3 +47,8 @@ else
vim.keymap.set("n", "<C-f>", unavailable) vim.keymap.set("n", "<C-f>", unavailable)
vim.keymap.set("n", "<C-y>", unavailable) vim.keymap.set("n", "<C-y>", unavailable)
end end
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")
vim.keymap.set("n", "<C-l>", "<C-w>l")
Loading…
Cancel
Save