aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: d6bed5246eddb6eeb2b625d00cdcd6a925aceb1d (plain)
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
39
40
41
42
43
44
45
46
# nvim_config
A usable .config/nvim
# Install
Install vim plug. Look here to find out how https://github.com/junegunn/vim-plug#Installation

Installl dependencies. The dependencies are powerline, nerdfont, ripgrep, clangd (for c/c++ users), and pylsp (for python users).

Getting the nvim_config installed.

cd ~/.config

git clone https://gitea.com/nathansmithsmith/nvim_config

mv nvim_config nvim

nvim ~/.config/nvim/lua/plugin_management.lua

:PlugInstall

# Keybindings
leaderkey: ,.

alt-e to close nvim-cmp popups.

Open terminal: leader-c

Toggle/close terminal: A-\

Telescope find files: leader-f

Telescope live grep: leader-g

Cmake build: leader-b

Telescope help tags: leader-h

Telescope marks: leader-m

Telescope man_pages: leader-p


# Moving around.
Hold down alt to move to different windows in split screen.

To move around in the nvim-cmp popup, telescope, and dashboard use alt-n for next and alt-p for previous and alt-e to close.