diff --git a/lua/default/lazy/telescope.lua b/lua/default/lazy/telescope.lua index 4b3a7a4..c1b5c02 100644 --- a/lua/default/lazy/telescope.lua +++ b/lua/default/lazy/telescope.lua @@ -12,10 +12,9 @@ return { local builtin = require('telescope.builtin') vim.keymap.set('n', 'pf', builtin.find_files, {}) -- Lets you find files - vim.keymap.set('n', '', builtin.git_files, {}) -- lets you find git files vim.keymap.set('n', 'ps', function() -- Lets you grep for a string builtin.grep_string({ search = vim.fn.input("Grep > ") }) end) vim.keymap.set('n', 'vh', builtin.help_tags, {}) end -} \ No newline at end of file +} diff --git a/nvim_keybinds_cheatsheet b/nvim_keybinds_cheatsheet new file mode 100644 index 0000000..b250964 --- /dev/null +++ b/nvim_keybinds_cheatsheet @@ -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)