Commit Graph

123 Commits

Author SHA1 Message Date
Leon Heidelbach c7a4d4e337 feat: fixed & added mappings & users can now add their custom "mode_opt" 2022-05-13 11:35:35 +05:30
siduck 25305eca92 clean up 2022-05-12 19:27:11 +05:30
siduck 0844431d37 breaking change : re-implement custom mappings | simplify it | add whichkey
fixes #1057 , #1047
2022-05-12 18:26:01 +05:30
Arman.H 5a1240be82 refactor: add utils to the global scope 2022-05-10 20:15:08 +05:30
Akianonymus d912bbe67c mapping: Fix p not copy selected text when clipboard in not set
format statusline.lua
2022-05-08 11:36:05 +05:30
Magnus von Wachenfeldt 836ab5e98e add mapping for :Telescope keymaps 2022-05-05 22:28:45 +05:30
Freyskeyd e557dc3af9 Fixing lsp mapping to use leader instead of space
Signed-off-by: Freyskeyd <simon.paitrault@gmail.com>
2022-05-02 19:34:49 +05:30
siduck 1c4a202d00 remove un-needed mapping 2022-05-01 22:42:05 +05:30
siduck 841f839bb6 Revert "fix: set LSP mappings only for buffers that have a configured language server (#1004)"
This reverts commit a8466ccf4c.
2022-05-01 18:24:40 +05:30
siduck 985217b93f add: Packer snapshot feature (#721) 2022-04-30 23:37:31 +05:30
Arman.H a8466ccf4c fix: set LSP mappings only for buffers that have a configured language server 2022-04-29 22:04:05 +05:30
zbirenbaum aa4bab9605 fix group comments regression 2022-04-28 03:58:35 -04:00
siduck 08da7f6698 clean mappings.lua 2022-04-28 04:34:14 +05:30
siduck adecbe719f BREAKING CHANGE | re-implementation of custom config 2022-04-27 21:12:28 +05:30
guoliang 3d78ef3474 fix: insert mode nav shortcut 2022-04-10 17:46:16 +05:30
zbirenbaum 4a888ad037 add float term mappings and config 2022-04-09 01:32:27 -04:00
Arman.H b21defd4e4 refactor: remove unnecessary mapping 2022-04-07 21:57:11 +05:30
siduck bf89f0bf5f fix typo in mapping 2022-04-01 12:54:37 +05:30
siduck 63d54926a4 add mappings to spawn nobufflisted terms 2022-04-01 11:47:05 +05:30
zbirenbaum 1face444b8 change plugin init to config terminal on load extensions, change mappings to use new chadterm 2022-03-31 06:51:36 +05:30
i3cheese 229ad7e00d Fix j -> gj mapping. 2022-03-19 11:27:11 +05:30
siduck ac392cd29b misc
cb531cd90b
2022-03-02 14:36:21 +05:30
siduck cb531cd90b shorten some long mapping vars, fix (#849)| fix (#836) 2022-03-01 12:43:34 +05:30
Ruben Verheyden 5ec6112a59 fix for (#844) Replace-paste at end of line incorrect 2022-02-27 18:25:06 +05:30
siduck ceaf02e0bf replace dashboard with alpha.nvim (#816) 2022-02-20 11:44:43 +05:30
Akianonymus 46db63749f cmp: Add border to floating docs, move completeopt inside config
format files
2022-02-04 06:12:31 +05:30
i3cheese 195f6f3621 Toggle relative numbers and copy to system clipboards mappings 2022-01-31 14:45:07 +05:30
Akianonymus bad06dc44f mappings: Allow to remove plugin mappings in chadrc
This enables us to disable a plugin mappings individually

for eg:
  M.mappings.plugins = {
      telelscope = {
          find_hiddenfiles = false
      }
  }

  This will disable the telelscope find_hiddenfiles mapping.

It's also helpful when we want to use the mapping used by find_hiddenfiles for something else
2022-01-22 14:53:26 +05:30
David Stark ea6f2a1490 hotfix to :Telescope command flag order 2022-01-08 07:39:57 +05:30
David Stark 83ad616dd3 when finding all files via Telescope follow symlinks 2022-01-08 07:07:24 +05:30
siduck 4e54ee0081 rm hooks 2022-01-07 19:58:05 +05:30
siduck 9551ce7031 rm telescope-media-files.nvim!
it heavily relies on xorg so doesnt fully work on linux!, forget about macos,windows. Added a basic config doc for it here : https://nvchad.github.io/Extras#telescope-media-filesnvim
2022-01-01 17:30:42 +05:30
ryanb-dev 688586eeec Telescope: Remove no_ignore option from find files
Prior to this change, searches through large repositories would include
files within the .gitignore, resulting in long search results and many
useless results.  This change results in find_files respecting
.gitignore and find_hiddenfiles instead being an exhaustive search over
all files within the current directory.
2021-12-27 08:05:07 +05:30
Erasin ae90cca3f0 lua vim.diagnostic.setloclist 2021-12-23 18:43:49 +05:30
siduck 3a966955d4 make lspconfig mappings compatible with nvim 0.6v 2021-12-22 18:05:07 +05:30
Danilo Horta 31e551af30 Make lspconfig mappings configurable. 2021-12-19 06:17:13 +05:30
siduck 1cd5150b70 update comment toggle mappings (#658) 2021-12-16 18:55:33 +05:30
Akianonymus d2db2cc1cd plugin: Use Comment.nvim | Resolve #646 & #626 2021-12-11 22:54:59 +05:30
siduck 2a8afcb7b6 rm theme toggler config 2021-12-07 14:06:34 +05:30
siduck 6347a00023 add mapping, highlights for keybind cheatsheet | disable indentline in it 2021-12-04 21:04:04 +05:30
siduck 9e8af5ad93 include NvimTreeNormalNC for transparency | add #608 2021-11-24 20:08:11 +05:30
siduck 3330d1cc06 clean up! 2021-11-17 11:00:57 +05:30
siduck aa9667a5de Revert "add cheatsheet.nvim"
This reverts commit e8b919723e.
2021-11-15 22:51:51 +05:30
siduck e8b919723e add cheatsheet.nvim 2021-11-14 18:23:59 +05:30
siduck bdd6dc12c2 restructure | clean default_config 2021-11-14 12:43:36 +05:30
max397574 16a0c97fc9 fix: use better name for mapping 2021-10-16 21:26:30 +05:30
Akianonymus 2356ba069e fix: #501 | delay when use d in visual mode
only if copy_del = false
2021-10-02 12:13:56 +05:30
siduck76 a1c234e001 clean : debloat config | rm un-needed plugins 2021-10-02 10:41:50 +05:30
siduck76 0b55d45845 rm neoformat plugin 2021-09-29 22:34:22 +05:30
siduck76 50a5bcc870 rm : vim-fugitive plugin 2021-09-25 23:11:59 +05:30
siduck76 cc48bfb5c8 remove cheatsheet.nvim 2021-09-24 18:57:36 +05:30
Galen Rowell ee586047e5 feat: improve mappings, move `custom/init.lua & chadrc.lua` -> `custom/example_init.lua & example_chadrc.lua` 2021-09-24 19:11:55 +05:30
Galen Rowell 9961cc0113 refactor: clean & re-organise default_config + chadrc
this completely overhauls the design of the two configuration files,
aiming to move options & various tables into a more sensible table structure

BREAKING CHANGE: this will break any user modificiations to the current
config
2021-09-24 19:11:55 +05:30
Galen Rowell a5a5a8220c refactor: clean & small reorgnaisation of default_config 2021-09-24 19:11:55 +05:30
Morten Olsen bfc10e6034 feat: Add custom scripts and hook based setup
This commit introduces a hook system that allows the user to add custom
modules which can use these hooks to invoke function af specific NvChad
events to allow for extending og functionality
2021-09-24 19:11:55 +05:30
Galen Rowell ca1ad15ad2 refactor: Cleaning chadrc, moved to custom & moved default_config to core 2021-09-24 19:11:55 +05:30
siduck76 22f89cfeef Revert "remove cheatsheet.nvim for now"
This reverts commit f3fe3d46c8.
2021-09-24 18:31:42 +05:30
siduck76 f3fe3d46c8 remove cheatsheet.nvim for now 2021-09-24 18:22:04 +05:30
siduck76 61b6eda6af add light theme in theme toggler 2021-09-16 14:20:13 +05:30
siduck76 cafd078e8f fix esc_insertmode settings not getting applied in chadrc (#422) 2021-09-10 16:21:54 +05:30
mxzel a12455509b fix typo 2021-08-31 21:09:01 +05:30
JoakoV3 7ddd394172 Changed mappings to move between windows/terminals with Ctrl+h,j,k,l 2021-08-29 10:42:15 +05:30
Akianonymus 2c33e3dd38 mappings: Fix strange delete/yank/cut behaviour | Resolve #379
use mode() to detect if currently in operator pending mode, if then use normal j otherwise gj
2021-08-27 10:20:57 +05:30
siduck76 3c7de7a890
keep chadreload on hold for now 2021-08-26 22:59:05 +05:30
Akianonymus 4e645c3c9f mappings: Change reload_config function name
changed in nvchad/extensions repo
2021-08-26 19:41:27 +05:30
siduck76 9635b45404 clean mappings conf 2021-08-25 20:13:47 +05:30
ashincoder c02b1a063f feat: Added cmd for ChadReload 2021-08-25 20:10:23 +05:30
Akianonymus 1b2ec94b75 feat: Add copy_del and copy_cut options to config 2021-08-25 11:41:15 +05:30
Akianonymus 49216a9c93 feat: Support for custom user mappings | Improve map function
move map function to utils

rearrange utils, was missed
2021-08-25 11:41:15 +05:30
siduck76 4828cfd282 add mapping for finding hidden files with telescope (#360) 2021-08-25 05:36:44 +05:30
siduck76 ac83f1d580 add mapping to focus nvimtree (349) 2021-08-23 16:44:52 +05:30
Akianonymus e1d0678f6e mappings: Add PackerClean command 2021-08-22 17:54:10 +05:30
Akianonymus 9ffddb6b52 Restructure config | Move some to a packer plugin | Lot of cleanup
* move teleacope files, updater and related utils to
  https://github.com/NvChad/core

* restructure config file and directory structure

* expose mappings for better escape

* allow multiple mappings for some

* improve merge table function for the same

* move autocommands to a seperate file

* rearrange everything alphabetically where sanely possible

* rearrange packer plugin list on the basis of trigerred state

config structure now

 .
├──  init.lua
├──  LICENSE
├──  lua
│  ├──  chadrc.lua
│  ├──  colors
│  │  ├──  highlights.lua
│  │  ├──  init.lua
│  │  └──  themes
│  │     ├──  chadracula.lua
│  │     ├──  everforest.lua
│  │     ├──  gruvchad.lua
│  │     ├──  javacafe.lua
│  │     ├──  mountain.lua
│  │     ├──  norchad.lua
│  │     ├──  one-light.lua
│  │     ├──  onedark.lua
│  │     ├──  tokyonight.lua
│  │     └──  tomorrow-night.lua
│  ├──  core
│  │  ├──  autocmds.lua
│  │  ├──  init.lua
│  │  ├──  mappings.lua
│  │  ├──  options.lua
│  │  └──  utils.lua
│  ├──  default_config.lua
│  └──  plugins
│     ├──  configs
│     │  ├──  autopairs.lua
│     │  ├──  autosave.lua
│     │  ├──  bufferline.lua
│     │  ├──  chadsheet.lua
│     │  ├──  compe.lua
│     │  ├──  dashboard.lua
│     │  ├──  gitsigns.lua
│     │  ├──  icons.lua
│     │  ├──  lspconfig.lua
│     │  ├──  luasnip.lua
│     │  ├──  nvimtree.lua
│     │  ├──  others.lua
│     │  ├──  statusline.lua
│     │  ├──  telescope.lua
│     │  ├──  treesitter.lua
│     │  └──  zenmode.lua
│     ├──  init.lua
│     └──  packerInit.lua
└──  README.md
2021-08-22 17:54:10 +05:30