You've already forked neovim_config
Making a few updates
This commit is contained in:
@@ -12,10 +12,9 @@ return {
|
||||
|
||||
local builtin = require('telescope.builtin')
|
||||
vim.keymap.set('n', '<leader>pf', builtin.find_files, {}) -- Lets you find files
|
||||
vim.keymap.set('n', '<C-p>', builtin.git_files, {}) -- lets you find git files
|
||||
vim.keymap.set('n', '<leader>ps', function() -- Lets you grep for a string
|
||||
builtin.grep_string({ search = vim.fn.input("Grep > ") })
|
||||
end)
|
||||
vim.keymap.set('n', '<leader>vh', builtin.help_tags, {})
|
||||
end
|
||||
}
|
||||
}
|
||||
|
||||
27
nvim_keybinds_cheatsheet
Normal file
27
nvim_keybinds_cheatsheet
Normal file
@@ -0,0 +1,27 @@
|
||||
Here is a list of the configured keybinds and what they do.
|
||||
|
||||
Now keep in mind, most of the keybinds are just standard vi/vim keybinds, therefor if you are wondering how to do things, try the default vi/vim keybinds first.
|
||||
|
||||
|
||||
Finding files and file browsing
|
||||
space+p+v: This sends you out into netrw where you can navigate between files and directoris.
|
||||
space+p+f: This will open a prompt where you can search for file names, there is also a file preview.
|
||||
space+p+s: This will open a grep search bar at the bottom of the nvim window where you can search for thigs in files, it will then open a windows where you can see all the files that contain what you have searched for.
|
||||
|
||||
Editing files
|
||||
space+y: This lets you yoink into clipboard instead of the nvim buffer
|
||||
space+p: This will let you paste from the nvim yoink buffer without overwriting it
|
||||
ctrl+v: This puts you into a visual block
|
||||
ctrl+y: This accepts the highlighted option in the auto complete box
|
||||
ctrl+c: This has been mapped to esc
|
||||
ctrl+w+d: This will show why there is a error or a warning
|
||||
|
||||
Using taps
|
||||
space+c+t: This will open a new tap
|
||||
space+q+t: This will close the tap you are in
|
||||
space+g+t: This will go to the next tap
|
||||
space+(number)+g+t: This will send you to the tap with you number you selected
|
||||
|
||||
Managing plugins and language servers
|
||||
:Lazy (this will open the plugin manager window)
|
||||
:Mason (This will open the lsp manager window)
|
||||
Reference in New Issue
Block a user