mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
Neovim setup
Can it be this easy to make nvim stuff just work? Do I really just need to pull the files in with Home Manager? It seems so, so long as nvim knows about gcc :) There is also a related side of tmux here because it all ties together.
This commit is contained in:
parent
5b7bb14cd6
commit
dfc94f8c69
27 changed files with 369 additions and 3 deletions
11
modules/home-manager/files/nvim/lua/config/keymaps.lua
Normal file
11
modules/home-manager/files/nvim/lua/config/keymaps.lua
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
vim.g.mapleader = " "
|
||||
vim.g.maplocalleader = " "
|
||||
|
||||
-- use spaces for tabs and whatnot
|
||||
vim.opt.expandtab = true
|
||||
vim.opt.tabstop = 2
|
||||
vim.opt.softtabstop = 2
|
||||
vim.opt.shiftwidth = 2
|
||||
vim.opt.shiftround = true
|
||||
|
||||
vim.keymap.set('n', '<leader>h', ':nohlsearch<CR>')
|
||||
Loading…
Add table
Add a link
Reference in a new issue