mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-13 02:44:43 +02:00
updates
This commit is contained in:
parent
573361cb31
commit
414f854e4a
3 changed files with 21 additions and 21 deletions
|
@ -6,6 +6,8 @@ If you are looking for my old configs checkout the two snapshot branches on this
|
||||||
|
|
||||||
**WARNING** Still very experimental will not work without some configuation
|
**WARNING** Still very experimental will not work without some configuation
|
||||||
|
|
||||||
|
You will need to run `nv` then `:PackerInstall` ignore the errors that are presented
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bash <(curl -s https://raw.githubusercontent.com/ChristianChiarulli/nvcode/master/utils/installer/install-nv-code.sh)
|
bash <(curl -s https://raw.githubusercontent.com/ChristianChiarulli/nvcode/master/utils/installer/install-nv-code.sh)
|
||||||
```
|
```
|
||||||
|
@ -95,7 +97,6 @@ git config --global github.user <username>
|
||||||
## TODO
|
## TODO
|
||||||
|
|
||||||
**HIGH PRIORITY**
|
**HIGH PRIORITY**
|
||||||
- formatting using efm server for prettier/eslint
|
|
||||||
- list all binaries needed for functionality
|
- list all binaries needed for functionality
|
||||||
- learn what opt is
|
- learn what opt is
|
||||||
- better install script, support both nvim and nvcode paths
|
- better install script, support both nvim and nvcode paths
|
||||||
|
|
|
@ -7,7 +7,6 @@ vim.api.nvim_set_keymap('n', '<Leader>h', ':set hlsearch!<CR>', { noremap = true
|
||||||
-- explorer
|
-- explorer
|
||||||
vim.api.nvim_set_keymap('n', '<Leader>e', ':NvimTreeToggle<CR>', {noremap = true, silent = true})
|
vim.api.nvim_set_keymap('n', '<Leader>e', ':NvimTreeToggle<CR>', {noremap = true, silent = true})
|
||||||
|
|
||||||
|
|
||||||
-- better window movement
|
-- better window movement
|
||||||
vim.api.nvim_set_keymap('n', '<C-h>', '<C-w>h', {silent = true})
|
vim.api.nvim_set_keymap('n', '<C-h>', '<C-w>h', {silent = true})
|
||||||
vim.api.nvim_set_keymap('n', '<C-j>', '<C-w>j', {silent = true})
|
vim.api.nvim_set_keymap('n', '<C-j>', '<C-w>j', {silent = true})
|
||||||
|
@ -37,7 +36,6 @@ vim.cmd([[
|
||||||
nnoremap <silent> <C-Right> :vertical resize +2<CR>
|
nnoremap <silent> <C-Right> :vertical resize +2<CR>
|
||||||
]])
|
]])
|
||||||
|
|
||||||
|
|
||||||
-- better indenting
|
-- better indenting
|
||||||
vim.api.nvim_set_keymap('v', '<', '<gv', {noremap = true, silent = true})
|
vim.api.nvim_set_keymap('v', '<', '<gv', {noremap = true, silent = true})
|
||||||
vim.api.nvim_set_keymap('v', '>', '>gv', {noremap = true, silent = true})
|
vim.api.nvim_set_keymap('v', '>', '>gv', {noremap = true, silent = true})
|
||||||
|
@ -55,7 +53,6 @@ vim.api.nvim_set_keymap('n', '<S-TAB>', ':bprevious<CR>', { noremap = true, sile
|
||||||
vim.api.nvim_set_keymap('x', 'K', ':move \'<-2<CR>gv-gv', {noremap = true, silent = true})
|
vim.api.nvim_set_keymap('x', 'K', ':move \'<-2<CR>gv-gv', {noremap = true, silent = true})
|
||||||
vim.api.nvim_set_keymap('x', 'J', ':move \'>+1<CR>gv-gv', {noremap = true, silent = true})
|
vim.api.nvim_set_keymap('x', 'J', ':move \'>+1<CR>gv-gv', {noremap = true, silent = true})
|
||||||
|
|
||||||
|
|
||||||
-- Better nav for omnicomplete
|
-- Better nav for omnicomplete
|
||||||
vim.cmd('inoremap <expr> <c-j> (\"\\<C-n>\")')
|
vim.cmd('inoremap <expr> <c-j> (\"\\<C-n>\")')
|
||||||
vim.cmd('inoremap <expr> <c-k> (\"\\<C-p>\")')
|
vim.cmd('inoremap <expr> <c-k> (\"\\<C-p>\")')
|
||||||
|
|
|
@ -23,3 +23,5 @@ command! ResetHunk lua require 'nv-utils'.reset_hunk()
|
||||||
command! ResetBuffer lua require 'nv-utils'.reset_buffer()
|
command! ResetBuffer lua require 'nv-utils'.reset_buffer()
|
||||||
command! PreviewHunk lua require 'nv-utils'.preview_hunk()
|
command! PreviewHunk lua require 'nv-utils'.preview_hunk()
|
||||||
command! BlameLine lua require 'nv-utils'.blame_line()
|
command! BlameLine lua require 'nv-utils'.blame_line()
|
||||||
|
command! W noa w
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue