Commit Graph

46 Commits

Author SHA1 Message Date
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