Skip to content

Commit

Permalink
v.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
radoslav11 committed May 20, 2023
1 parent 10ddca3 commit 4d4100a
Show file tree
Hide file tree
Showing 7 changed files with 3,344 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pack/
28 changes: 26 additions & 2 deletions README.md
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.
Loading

0 comments on commit 4d4100a

Please sign in to comment.