This commit is contained in:
Chris 2021-03-19 02:54:17 -04:00
parent 573361cb31
commit 414f854e4a
3 changed files with 21 additions and 21 deletions

View file

@ -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
You will need to run `nv` then `:PackerInstall` ignore the errors that are presented
```bash
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
**HIGH PRIORITY**
- formatting using efm server for prettier/eslint
- list all binaries needed for functionality
- learn what opt is
- better install script, support both nvim and nvcode paths

View file

@ -7,7 +7,6 @@ vim.api.nvim_set_keymap('n', '<Leader>h', ':set hlsearch!<CR>', { noremap = true
-- explorer
vim.api.nvim_set_keymap('n', '<Leader>e', ':NvimTreeToggle<CR>', {noremap = true, silent = true})
-- better window movement
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})
@ -37,7 +36,6 @@ vim.cmd([[
nnoremap <silent> <C-Right> :vertical resize +2<CR>
]])
-- better indenting
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', 'J', ':move \'>+1<CR>gv-gv', {noremap = true, silent = true})
-- Better nav for omnicomplete
vim.cmd('inoremap <expr> <c-j> (\"\\<C-n>\")')
vim.cmd('inoremap <expr> <c-k> (\"\\<C-p>\")')

View file

@ -23,3 +23,5 @@ command! ResetHunk lua require 'nv-utils'.reset_hunk()
command! ResetBuffer lua require 'nv-utils'.reset_buffer()
command! PreviewHunk lua require 'nv-utils'.preview_hunk()
command! BlameLine lua require 'nv-utils'.blame_line()
command! W noa w