-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.lua
38 lines (32 loc) · 1.68 KB
/
init.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
-------------------------------------------------------------------------------
-- This config uses the following custom keybinds:
-- LSP ------------------------------------------------------------------------
-- K show documentation for word under cursor
-- <leader>d show LSP diagnostics
-- Nvim-Tree ------------------------------------------------------------------
-- CTRL-n toggle nvim-tree
-- i open file in split
-- s open file in vsplit
-- o cd into directory
-- Telescope ------------------------------------------------------------------
-- <leader>ff search for file
-- <leader>fg search for code (live grep)
-- <leader>ft search for tags
-- <leader>i open in split
-- <leader>s open in vsplit
-- Registers ------------------------------------------------------------------
-- " (normal or visual) show :Registers
-- CTRL-R (insert) show :Registers
-- CTRL-K / CTRL-J move cursor up / down in registers windos
-- DEL / BACKSPACE delete highlighted entry from registers
-- Misc -----------------------------------------------------------------------
-- <leader>r run current file with Jaq
-- <leader>-b show Neogit
-- CTRL-d show git diff
-- CTRL-b show git blame in a pop-up window
-- CTRL-t toggle a terminal
-- gcc/gc{<Movement>} toggle comment
-------------------------------------------------------------------------------
require("options")
require("keybinds")
require("plugins")