Skip to content

Commit

Permalink
Change visual mode selection
Browse files Browse the repository at this point in the history
  • Loading branch information
radoslav11 committed May 20, 2023
1 parent 4d4100a commit 12584df
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# nvim-config
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.
do have additional dependencies, like `fzf`, `astyle` and `black`. Also, if you want a JetBarains-like
file search, you should install `ripgrep`.

# Installation
For those unfamiliar with Plug, you simply need to `:PlugInstall`. If you don't want some
Expand All @@ -21,8 +22,9 @@ 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.
keybindings use the `<leader>` which I've set up as `<SPACE>`. For example, `<leader>ff` searches
for files based on name. For the JetBrains-like search, I use `<leader>fg` which runs `ripgrep`.
Check `init.vim` for more details.

# (Optional) Copilot
Follow the installation on https://github.com/github/copilot.vim, and add it ot `pack/`.
Expand Down
2 changes: 2 additions & 0 deletions init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ set whichwrap+=<,>,[,]
let g:AutoPairsFlyMode=0

let c_no_curly_error=1
" Better visual mode selection
let g:gruvbox_invert_selection=0
let g:gruvbox_contrast_dark='hard'
colorscheme gruvbox

Expand Down

0 comments on commit 12584df

Please sign in to comment.