-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
10ddca3
commit 4d4100a
Showing
7 changed files
with
3,344 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pack/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,29 @@ | ||
# nvim-config | ||
Neovim config requiring only Plug (and maybe copilot). | ||
Neovim config requiring only Plug (and maybe copilot). You should clone this repo | ||
into `~/.config/nvim`, or the configuration directory for your nvim. Some of the plugins | ||
do have additional dependencies, like fzf, astyle and black. | ||
|
||
# (Optional) copilot | ||
# Installation | ||
For those unfamiliar with Plug, you simply need to `:PlugInstall`. If you don't want some | ||
of the plugins, simply comment them out from `init.vim`. | ||
|
||
# Fonts | ||
Some of the plugins require a [Nerd Font](https://www.nerdfonts.com/font-downloads). I recommend | ||
the Regular JetBrains Nerd font, as it's quite nice. | ||
|
||
# Key Bindings | ||
The additional key bindings are quite standard: | ||
- Moving between splits with `<C-h>`, `<C-j>`, `<C-k>` and `<C-l>`. For those unfamiliar with | ||
splits, for horrizonal splitting you can do `<C-w>n`, while for vertical you can do `<C-w>v`. | ||
- Toggle terminal with `<C-Enter>`. Note that terminal mode can be both insert and normal. To | ||
ensure that the standard terminal key bindings work (like `<C-l>` for clear), we use `<C-ESC>` | ||
to go into normal mode. | ||
- `<TAB>` in normal mode formats the file (C/C++/Java with astyle, Python with black). | ||
- For browsing files, toggle nvim-tree using `` C-` ``. | ||
- There are a few search file funcionalities that are available through Telescope. The | ||
keybindings use the `<leader>` which I've set up as `<SPACE>`. For example `<leader>ff` searches | ||
for files based on name. Check `init.vim` for more details. | ||
|
||
# (Optional) Copilot | ||
Follow the installation on https://github.com/github/copilot.vim, and add it ot `pack/`. | ||
You will be prompted to login from a browser, or put a 6 digit code. |
Oops, something went wrong.