From f678deb3855a31cbeb373ca983a98e17d13f83e0 Mon Sep 17 00:00:00 2001 From: M64GitHub Date: Thu, 23 May 2024 20:14:52 +0200 Subject: [PATCH] Updated README --- README.md | 3 ++- init.lua | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c36cec6b..36884e80 100644 --- a/README.md +++ b/README.md @@ -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 - start neovim, wait a bit and enjoy! -Some of the shortcuts +Some of the shortcuts (my is comma) - ;: : (thx renerocksai for this idea!) + - ,v : open a new vsplit - ,mm: make - ,mc: make clean - : toggle persistent terminal diff --git a/init.lua b/init.lua index e249bbd9..f70822b3 100644 --- a/init.lua +++ b/init.lua @@ -75,6 +75,9 @@ vim.opt.scrolloff = 10 vim.opt.hlsearch = true vim.keymap.set('n', '', 'nohlsearch') +-- M64 additional settings +vim.opt.colorcolumn = '80' + -- 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_next, { desc = 'Go to next [D]iagnostic message' }) @@ -822,6 +825,7 @@ require('lazy').setup({ -- M64 additional plugins 'tpope/vim-fugitive', 'rcarriga/nvim-notify', + 'dstein64/nvim-scrollview', { 'akinsho/toggleterm.nvim', version = '*', config = true }, }, { ui = {