mirror of
https://github.com/jessebot/dot_files.git
synced 2025-10-01 01:48:43 +00:00
enter now folds, spacebar is now the leader key
This commit is contained in:
parent
20d5420bcc
commit
7a01ae8799
3 changed files with 7 additions and 2 deletions
|
@ -23,6 +23,9 @@ vim.opt.termguicolors = true
|
|||
-- make searching case insensitive
|
||||
vim.opt.ignorecase = true
|
||||
|
||||
-- spacebar is our leader key
|
||||
vim.g.mapleader = '<space>'
|
||||
|
||||
-- load plugins
|
||||
require('user.lazy')
|
||||
|
||||
|
|
|
@ -13,4 +13,4 @@ vim.opt.foldexpr = "nvim_treesitter#foldexpr()"
|
|||
vim.opt.foldlevelstart = 99
|
||||
|
||||
-- let spacebar allow me to fold the code
|
||||
vim.keymap.set('n', '<space>', 'za')
|
||||
vim.keymap.set('n', '<enter>', 'za')
|
||||
|
|
|
@ -297,9 +297,11 @@ These are the sensible defaults for [`onboardme`](https://github.com/jessebot/on
|
|||
- turning off mouse scrolling (might re-enable this 🤔)
|
||||
- enabling line numbers
|
||||
- adding a cursorline
|
||||
- <kbd>enter</kbd> folds the current code block
|
||||
- <kbd>space</kbd> is our leader key (a custom modifier key for neovim)
|
||||
- setting column 80 to be a different color for tidy code
|
||||
- searches are case insensitive
|
||||
- enabling gui colors so you aren't limited to like 8 colors
|
||||
- enabling gui colors so you aren't limited to like 16 colors
|
||||
- uses the [spacechalk.nvim] colorscheme
|
||||
- sources all the files in [`~/.config/nvim/lua`](.config/nvim/lua),
|
||||
including all our [plugin configs](.config/nvim/lua/user/lazy.lua).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue