Updated README
This commit is contained in:
parent
d881bcaa4e
commit
f678deb385
|
|
@ -27,8 +27,9 @@ You get a full C/C++ IDE config incl DAP debugging support working out of the bo
|
||||||
- clone this repo into ~/.config and rename it to nvim
|
- clone this repo into ~/.config and rename it to nvim
|
||||||
- start neovim, wait a bit and enjoy!
|
- start neovim, wait a bit and enjoy!
|
||||||
|
|
||||||
Some of the shortcuts
|
Some of the shortcuts (my <leader> is comma)
|
||||||
- ;: : (thx renerocksai for this idea!)
|
- ;: : (thx renerocksai for this idea!)
|
||||||
|
- ,v : open a new vsplit
|
||||||
- ,mm: make
|
- ,mm: make
|
||||||
- ,mc: make clean
|
- ,mc: make clean
|
||||||
- <Ctrl-t>: toggle persistent terminal
|
- <Ctrl-t>: toggle persistent terminal
|
||||||
|
|
|
||||||
4
init.lua
4
init.lua
|
|
@ -75,6 +75,9 @@ vim.opt.scrolloff = 10
|
||||||
vim.opt.hlsearch = true
|
vim.opt.hlsearch = true
|
||||||
vim.keymap.set('n', '<Esc>', '<cmd>nohlsearch<CR>')
|
vim.keymap.set('n', '<Esc>', '<cmd>nohlsearch<CR>')
|
||||||
|
|
||||||
|
-- M64 additional settings
|
||||||
|
vim.opt.colorcolumn = '80'
|
||||||
|
|
||||||
-- Diagnostic keymaps
|
-- Diagnostic keymaps
|
||||||
vim.keymap.set('n', '[d', vim.diagnostic.goto_prev, { desc = 'Go to previous [D]iagnostic message' })
|
vim.keymap.set('n', '[d', vim.diagnostic.goto_prev, { desc = 'Go to previous [D]iagnostic message' })
|
||||||
vim.keymap.set('n', ']d', vim.diagnostic.goto_next, { desc = 'Go to next [D]iagnostic message' })
|
vim.keymap.set('n', ']d', vim.diagnostic.goto_next, { desc = 'Go to next [D]iagnostic message' })
|
||||||
|
|
@ -822,6 +825,7 @@ require('lazy').setup({
|
||||||
-- M64 additional plugins
|
-- M64 additional plugins
|
||||||
'tpope/vim-fugitive',
|
'tpope/vim-fugitive',
|
||||||
'rcarriga/nvim-notify',
|
'rcarriga/nvim-notify',
|
||||||
|
'dstein64/nvim-scrollview',
|
||||||
{ 'akinsho/toggleterm.nvim', version = '*', config = true },
|
{ 'akinsho/toggleterm.nvim', version = '*', config = true },
|
||||||
}, {
|
}, {
|
||||||
ui = {
|
ui = {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue