asyncrun.vim
quickfix-reflector.vim
asyncrun.vim | quickfix-reflector.vim | |
---|---|---|
27 | 23 | |
1,820 | 332 | |
- | - | |
7.2 | 0.0 | |
about 1 month ago | about 2 years ago | |
Vim Script | Vim Script | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
asyncrun.vim
-
Is there a plugin for async shell :%!command ?
I'm familiar with asyncrun.vim, but it outputs as quickfix. I specifically want to filter editor text (as stdin/stdout).
-
When creating a new window, can you open to the CWD in your terminal emulator of choice?
If you want to open a new terminal in the CWD of neovim, you couls either use neovim's built in terminal or, if it needa to be kitty, use the neovim AsyncRun-plugin and start kitty with the necessary command-line options to start in neovims's CWD(I uae this with Alacritty instead of Kitty).
-
How do you handle level productivity: autoformat, insert debug statement, execute file?
For running the file there are several tools. I have been using asynctasks.vim which is built on top of asyncrun.vim which I usually use to open a tmux pane and run the code/test. I've been looking at switching to overseer.nvim but haven't yet. I use justfiles to define all of my tasks.
-
How do you guys run the code you write with vim?
I can :Man blah to look up docs or :AsyncRun to build/run with jumpable output in the quickfix. Doing it within vim means I can pull from any register for pasting, yank without a mouse, hide buffers or move them to tabs, etc.
-
VSCode -> VIM, but how do I accomplish the other IDE tasks?
I use asyncrun.vim to see compile output as it happens (line by line instead of the whole dump when compile completes) and asynchronously (so I can keep navigating around).
-
Output of external command to messages ?
try asyncrun:
-
Run code with F5 and leave buffer open
Also AsyncRun and AsyncTasks worth a mention.
-
Asyncrun and ANSI codes
Hey folks, I'm using asyncrun to run async commands on vim, but some of them output ansi colorcodes, I've found powerman's AnsiEsc which is able to conceal and highlight them very well, but that only work for the current buffer, so there's no way to automate it from g:asyncrun_exit and I can't set the -post from asynctasks, has anyone found a way to fix this?
- Run code in Nvim
-
Run Any Language with Same Macro!
As you can see, I use asyncrun.nvim since sometime compiling/running will take quite long. For some complex situations, like c++ project with cmake, I use following code:
quickfix-reflector.vim
-
occur mode - editable grep results
Some plugins combine these concepts such as https://github.com/stefandtw/quickfix-reflector.vim
- How to search and replace inside current workdir like vscode
-
Having trouble while transitioning from packer to lazy
-- START OF THE LAZY FILE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -- Automatically install lazy local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" if not vim.loop.fs_stat(lazypath) then vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", -- latest stable release lazypath, }) end vim.opt.rtp:prepend(lazypath) -- Autocommand that reloads neovim whenever you save the plugins.lua file vim.cmd([[ augroup lazy_user_config autocmd! autocmd BufWritePost lazy.lua source | PackerSync augroup end ]]) -- Use a protected call so we don't error out on first use local status_ok, packer = pcall(require, "lazy") if not status_ok then return end -- -- Have packer use a popup window -- packer.init({ -- display = { -- open_fn = function() -- return require("packer.util").float({ border = "rounded" }) -- end, -- }, -- }) -- -- local bufferlist = require('ide.components.bufferlist') -- local explorer = require('ide.components.explorer') -- local outline = require('ide.components.outline') -- local callhierarchy = require('ide.components.callhierarchy') -- local timeline = require('ide.components.timeline') -- local terminal = require('ide.components.terminal') -- local terminalbrowser = require('ide.components.terminal.terminalbrowser') -- local changes = require('ide.components.changes') -- local commits = require('ide.components.commits') -- local branches = require('ide.components.branches') -- local bookmarks = require('ide.components.bookmarks') -- example using a list of specs with the default options vim.g.mapleader = " " -- make sure to set `mapleader` before lazy so your mappings are correct -- probably this is where I messed up !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! require("lazy").setup()( (({ "wbthomason/packer.nvim", commit = "6afb67460283f0e990d35d229fd38fdc04063e0a" }) -- Have packer manage itself { "nvim-lua/plenary.nvim", commit = "4b7e52044bbb84242158d977a50c4cbcd85070c7" } -- Useful lua functions used by lots of plugins { "windwp/nvim-autopairs", commit = "4fc96c8f3df89b6d23e5092d31c866c53a346347" } -- Autopairs, integrates with both cmp and treesitter { "numToStr/Comment.nvim", commit = "97a188a98b5a3a6f9b1b850799ac078faa17ab67" } { "JoosepAlviste/nvim-ts-context-commentstring", commit = "4d3a68c41a53add8804f471fcc49bb398fe8de08" } { "kyazdani42/nvim-web-devicons", commit = "563f3635c2d8a7be7933b9e547f7c178ba0d4352" } { "kyazdani42/nvim-tree.lua", commit = "7282f7de8aedf861fe0162a559fc2b214383c51c" } { "akinsho/bufferline.nvim", commit = "83bf4dc7bff642e145c8b4547aa596803a8b4dc4" } { "moll/vim-bbye", commit = "25ef93ac5a87526111f43e5110675032dbcacf56" } { "nvim-lualine/lualine.nvim", commit = "a52f078026b27694d2290e34efa61a6e4a690621" } { "akinsho/toggleterm.nvim", commit = "2a787c426ef00cb3488c11b14f5dcf892bbd0bda" } { "ahmedkhalf/project.nvim", commit = "628de7e433dd503e782831fe150bb750e56e55d6" } { "lewis6991/impatient.nvim", commit = "b842e16ecc1a700f62adb9802f8355b99b52a5a6" } { "lukas-reineke/indent-blankline.nvim", commit = "db7cbcb40cc00fc5d6074d7569fb37197705e7f6" } { "goolord/alpha-nvim", commit = "0bb6fc0646bcd1cdb4639737a1cee8d6e08bcc31" } {"folke/which-key.nvim"} -- Colorschemes { "folke/tokyonight.nvim", commit = "66bfc2e8f754869c7b651f3f47a2ee56ae557764" } { "lunarvim/darkplus.nvim", commit = "13ef9daad28d3cf6c5e793acfc16ddbf456e1c83" } -- Cmp { "hrsh7th/nvim-cmp", commit = "b0dff0ec4f2748626aae13f011d1a47071fe9abc" } -- The completion plugin { "hrsh7th/cmp-buffer", commit = "3022dbc9166796b644a841a02de8dd1cc1d311fa" } -- buffer completions { "hrsh7th/cmp-path", commit = "447c87cdd6e6d6a1d2488b1d43108bfa217f56e1" } -- path completions { "saadparwaiz1/cmp_luasnip", commit = "a9de941bcbda508d0a45d28ae366bb3f08db2e36" } -- snippet completions { "hrsh7th/cmp-nvim-lsp", commit = "3cf38d9c957e95c397b66f91967758b31be4abe6" } { "hrsh7th/cmp-nvim-lua", commit = "d276254e7198ab7d00f117e88e223b4bd8c02d21" } -- Snippets { "L3MON4D3/LuaSnip", commit = "8f8d493e7836f2697df878ef9c128337cbf2bb84" } --snippet engine { "rafamadriz/friendly-snippets", commit = "2be79d8a9b03d4175ba6b3d14b082680de1b31b1" } -- a bunch of snippets to use -- LSP { "neovim/nvim-lspconfig", commit = "f11fdff7e8b5b415e5ef1837bdcdd37ea6764dda" } -- enable LSP { "williamboman/mason.nvim", commit = "c2002d7a6b5a72ba02388548cfaf420b864fbc12"} -- simple to use language server installer { "williamboman/mason-lspconfig.nvim", commit = "0051870dd728f4988110a1b2d47f4a4510213e31" } { "jose-elias-alvarez/null-ls.nvim", commit = "c0c19f32b614b3921e17886c541c13a72748d450" } -- for formatters and linters { "RRethy/vim-illuminate", commit = "a2e8476af3f3e993bb0d6477438aad3096512e42" } -- Telescope { "nvim-telescope/telescope.nvim", commit = "76ea9a898d3307244dce3573392dcf2cc38f340f" } { "nvim-telescope/telescope-symbols.nvim", after = "telescope.nvim" } { 'nvim-telescope/telescope-dap.nvim', after = "telescope.nvim" } -- Treesitter { "nvim-treesitter/nvim-treesitter", commit = "8e763332b7bf7b3a426fd8707b7f5aa85823a5ac", } -- Git { "lewis6991/gitsigns.nvim", commit = "2c6f96dda47e55fa07052ce2e2141e8367cbaaf2" } -- Registers { "tversteeg/registers.nvim", config = function() require("registers").init() end, } -- Session management plugin { "tpope/vim-obsession", cmd = "Obsession" } { 'norcalli/nvim-colorizer.lua'} -- Show undo history visually { "simnalamburt/vim-mundo", cmd = { "MundoToggle", "MundoShow" } } -- Manage your yank history --DAP Nvim debugger -- 'mfussenegger/nvim-dap' --Debugger {'Weissle/persistent-breakpoints.nvim'} --Breakpoints 'ofirgall/goto-breakpoints.nvim' --Saltar a breakpoints { "andrewferrier/debugprint.nvim",--Hacer debug con prints config = function() require("debugprint").init() end, } { "williamboman/mason.nvim", config = function() require('mason').init() end} {"williamboman/mason-lspconfig.nvim", config = function() require('mason-lspconfig').init() end} "neovim/nvim-lspconfig" -- Others 'nanotee/zoxide.vim' {'booperlv/nvim-gomove'} --Para duplicar y mover lineas de código "krshrimali/nvim-autorunner" { "folke/zen-mode.nvim", config = function() require("zen-mode").init { -- your configuration comes here -- or leave it empty to use the default settings -- refer to the configuration section below } end } 'DougBeney/pickachu' --Color picker 'mattn/emmet-vim' --Emmet 'easymotion/vim-easymotion' --EasyMotion TODO: configurar { "Pocco81/true-zen.nvim", config = function() require("true-zen").init { } end, } { 'phaazon/hop.nvim', branch = 'v2', -- optional but strongly recommended config = function() -- you can configure Hop the way you like here; see :h hop-config require'hop'.init { keys = 'etovxqpdygfblzhckisuran' } end } 'https://github.com/stefandtw/quickfix-reflector.vim' --Quickfixes stuff 'kuznetsss/shswitch' --Switch between header and classes { "kylechui/nvim-surround", --Operate with surrounders, including html tags (mirar documentacion si nose acuerda) version = "*", -- Use for stability; omit to use `main` branch for the latest features config = function() require("nvim-surround").init({ -- Configuration here, or leave empty to use defaults }) end } --ALE is also installed but not listed here, it was installed directly --Hace uso de prettier eslint y otros embellecedores -- Investigar como funciona LSP antes de andar con esta wea -- use({ -- 'ray-x/navigator.lua', --Para navegar mejor con una pantallita pequeña -- dependencies = { -- { 'ray-x/guihua.lua', run = 'cd lua/fzy && make' }, -- { 'neovim/nvim-lspconfig' }, -- }, -- config = function() -- require'navigator'.init() -- end -- }) { "amrbashir/nvim-docs-view", -- Docs View for LSP lazy = true, cmd = { "DocsViewToggle" }, config = function() require("docs-view").init { position = "right", width = 60, } end } 'gennaro-tedesco/nvim-peekup' --Mejor selector de registros, se usa con "" { "cbochs/grapple.nvim", --Navegacion rapida a archivos (compleja, mirar documentacion, instalar vim 0.9?) dependencies = { "nvim-lua/plenary.nvim" }, } 'gaborvecsei/memento.nvim' --Ir a un archivo accedido anteriormente (mapear a leader key) { 's1n7ax/nvim-search-and-replace', --Default mappings leader + g + r/R/u/U config = function() require'nvim-search-and-replace'.init() end, } -- use({ -- "utilyre/barbecue.nvim", --Añade una barra de contexto (en que función o clase estamos) -- dependencies = { -- "neovim/nvim-lspconfig", -- "SmiteshP/nvim-navic", -- "nvim-tree/nvim-web-devicons", -- optional dependency -- }, -- after = "nvim-web-devicons", -- keep this if you're using NvChad -- config = function() -- require("barbecue").init() -- end, -- }) { 'davidgranstrom/scnvim', -- Supercollider config = function() require('scnvim').init() end } 'ekickx/clipboard-image.nvim' -- Pegar Imagenes { '0styx0/abbreinder.nvim', --Avisa cuando usas algo para lo que ya existe un snippet (no se que engine usa) dependencies = { { '0styx0/abbremand.nvim', module = 'abbremand' -- if want to lazy load } }, config = function() -- config can be empty to stay with defaults -- or anything can be changed, with anything unspecified -- retaining the default values require'abbreinder'.init() end, event = 'BufRead', -- if want lazy load } {'nvim-orgmode/orgmode', config = function() --Otro orgmode (hay que configurar) require('orgmode').init_ts_grammar() require('orgmode').init({ org_agenda_files = {'~/Dropbox/org/*', '~/my-orgs/**/*'}, org_default_notes_file = '~/Dropbox/org/refile.org', mappings = { global = { org_agenda = 'gA', org_capture = 'gC' } } }) end } { 'michaelb/sniprun', build = 'bash ./install.sh'} --Corre un chachito de código (No se si funciona con lenguajes compilados), hay una repo de Arch para instalar si esto no funciona {'hkupty/iron.nvim'} --Support para REPLs 'Olical/conjure' --Otro REPL (no se cual va mejor) { 'mrjones2014/legendary.nvim', --Utilidad para nvim abreviaciones -- sqlite is only needed if you want to use frecency sorting -- dependencies = 'kkharji/sqlite.lua' } -- -- use({ -- "Pocco81/auto-save.nvim", --Funcion de autoguardado -- config = function() -- require("auto-save").init { -- -- your config goes here -- -- or just leave it empty :) -- } -- end, -- }) -- 'nvim-treesitter/nvim-treesitter-context' -- Mete contexto? no se que hace exactamente { 'rmagatti/auto-session', --ayuda para las sesiones config = function() require("auto-session").init { log_level = "error", auto_session_suppress_dirs = { "~/", "~/Projects", "~/Downloads", "/"}, } end } 'sindrets/winshift.nvim' --mover las ventanas más facilmente { "jghauser/kitty-runner.nvim", --Mandar comandos a la terminal kitty config = function() require("kitty-runner").init() --Hay que cambiar los keybindings end } { "rcarriga/nvim-dap-ui", dependencies = {"mfussenegger/nvim-dap"} } --Interfaz para debugger {"ziontee113/color-picker.nvim", config = function() require("color-picker") end, } -- { -- 'ldelossa/nvim-ide', -- require('ide').init({ -- -- The global icon set to use. -- -- values: "nerd", "codicon", "default" -- icon_set = "default", -- -- Set the log level for nvim-ide's log. Log can be accessed with -- -- 'Workspace OpenLog'. Values are 'debug', 'warn', 'info', 'error' -- log_level = "info", -- -- Component specific configurations and default config overrides. -- components = { -- -- The global keymap is applied to all Components before construction. -- -- It allows common keymaps such as "hide" to be overridden, without having -- -- to make an override entry for all Components. -- -- -- -- If a more specific keymap override is defined for a specific Component -- -- this takes precedence. -- global_keymaps = { -- -- example, change all Component's hide keymap to "h" -- -- hide = h -- }, -- -- example, prefer "x" for hide only for Explorer component. -- -- Explorer = { -- -- keymaps = { -- -- hide = "x", -- -- } -- -- } -- }, -- -- default panel groups to display on left and right. -- panels = { -- left = "explorer", -- right = "git" -- }, -- -- panels defined by groups of components, user is free to redefine the defaults -- -- and/or add additional. -- panel_groups = { -- explorer = { outline.Name, bufferlist.Name, explorer.Name, bookmarks.Name, callhierarchy.Name, terminalbrowser.Name }, -- terminal = { terminal.Name }, -- git = { changes.Name, commits.Name, timeline.Name, branches.Name } -- }, -- -- workspaces config -- workspaces = { -- -- which panels to open by default, one of: 'left', 'right', 'both', 'none' -- auto_open = 'left', -- }, -- -- default panel sizes for the different positions -- panel_sizes = { -- left = 30, -- right = 30, -- bottom = 15 -- } -- }) -- } 'simrat39/rust-tools.nvim' 'kevinhwang91/rnvimr' -- require("telescope").load_extension("command_center") -- { -- "FeiyouG/command_center.nvim", -- dependencies = { "nvim-telescope/telescope.nvim" }, -- } -- Automatically set up your configuration after cloning packer.nvim -- Put this at the end after all plugins )) --START OF THE PACKER FILE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! local fn = vim.fn -- Automatically install packer local install_path = fn.stdpath("data") .. "/site/pack/packer/start/packer.nvim" if fn.empty(fn.glob(install_path)) > 0 then PACKER_BOOTSTRAP = fn.system({ "git", "clone", "--depth", "1", "https://github.com/wbthomason/packer.nvim", install_path, }) print("Installing packer close and reopen Neovim...") vim.cmd([[packadd packer.nvim]]) end -- Autocommand that reloads neovim whenever you save the plugins.lua file vim.cmd([[ augroup packer_user_config autocmd! autocmd BufWritePost plugins.lua source | PackerSync augroup end ]]) -- Use a protected call so we don't error out on first use local status_ok, packer = pcall(require, "packer") if not status_ok then return end -- Have packer use a popup window packer.init({ display = { open_fn = function() return require("packer.util").float({ border = "rounded" }) end, }, }) -- local bufferlist = require('ide.components.bufferlist') -- local explorer = require('ide.components.explorer') -- local outline = require('ide.components.outline') -- local callhierarchy = require('ide.components.callhierarchy') -- local timeline = require('ide.components.timeline') -- local terminal = require('ide.components.terminal') -- local terminalbrowser = require('ide.components.terminal.terminalbrowser') -- local changes = require('ide.components.changes') -- local commits = require('ide.components.commits') -- local branches = require('ide.components.branches') -- local bookmarks = require('ide.components.bookmarks') -- Install your plugins here return packer.startup(function(use) use { "wbthomason/packer.nvim", commit = "6afb67460283f0e990d35d229fd38fdc04063e0a" } -- Have packer manage itself use { "nvim-lua/plenary.nvim", commit = "4b7e52044bbb84242158d977a50c4cbcd85070c7" } -- Useful lua functions used by lots of plugins use { "windwp/nvim-autopairs", commit = "4fc96c8f3df89b6d23e5092d31c866c53a346347" } -- Autopairs, integrates with both cmp and treesitter use { "numToStr/Comment.nvim", commit = "97a188a98b5a3a6f9b1b850799ac078faa17ab67" } use { "JoosepAlviste/nvim-ts-context-commentstring", commit = "4d3a68c41a53add8804f471fcc49bb398fe8de08" } use { "kyazdani42/nvim-web-devicons", commit = "563f3635c2d8a7be7933b9e547f7c178ba0d4352" } use { "kyazdani42/nvim-tree.lua", commit = "7282f7de8aedf861fe0162a559fc2b214383c51c" } use { "akinsho/bufferline.nvim", commit = "83bf4dc7bff642e145c8b4547aa596803a8b4dc4" } use { "moll/vim-bbye", commit = "25ef93ac5a87526111f43e5110675032dbcacf56" } use { "nvim-lualine/lualine.nvim", commit = "a52f078026b27694d2290e34efa61a6e4a690621" } use { "akinsho/toggleterm.nvim", commit = "2a787c426ef00cb3488c11b14f5dcf892bbd0bda" } use { "ahmedkhalf/project.nvim", commit = "628de7e433dd503e782831fe150bb750e56e55d6" } use { "lewis6991/impatient.nvim", commit = "b842e16ecc1a700f62adb9802f8355b99b52a5a6" } use { "lukas-reineke/indent-blankline.nvim", commit = "db7cbcb40cc00fc5d6074d7569fb37197705e7f6" } use { "goolord/alpha-nvim", commit = "0bb6fc0646bcd1cdb4639737a1cee8d6e08bcc31" } use {"folke/which-key.nvim"} -- Colorschemes use { "folke/tokyonight.nvim", commit = "66bfc2e8f754869c7b651f3f47a2ee56ae557764" } use { "lunarvim/darkplus.nvim", commit = "13ef9daad28d3cf6c5e793acfc16ddbf456e1c83" } -- Cmp use { "hrsh7th/nvim-cmp", commit = "b0dff0ec4f2748626aae13f011d1a47071fe9abc" } -- The completion plugin use { "hrsh7th/cmp-buffer", commit = "3022dbc9166796b644a841a02de8dd1cc1d311fa" } -- buffer completions use { "hrsh7th/cmp-path", commit = "447c87cdd6e6d6a1d2488b1d43108bfa217f56e1" } -- path completions use { "saadparwaiz1/cmp_luasnip", commit = "a9de941bcbda508d0a45d28ae366bb3f08db2e36" } -- snippet completions use { "hrsh7th/cmp-nvim-lsp", commit = "3cf38d9c957e95c397b66f91967758b31be4abe6" } use { "hrsh7th/cmp-nvim-lua", commit = "d276254e7198ab7d00f117e88e223b4bd8c02d21" } -- Snippets use { "L3MON4D3/LuaSnip", commit = "8f8d493e7836f2697df878ef9c128337cbf2bb84" } --snippet engine use { "rafamadriz/friendly-snippets", commit = "2be79d8a9b03d4175ba6b3d14b082680de1b31b1" } -- a bunch of snippets to use -- LSP use { "neovim/nvim-lspconfig", commit = "f11fdff7e8b5b415e5ef1837bdcdd37ea6764dda" } -- enable LSP use { "williamboman/mason.nvim", commit = "c2002d7a6b5a72ba02388548cfaf420b864fbc12"} -- simple to use language server installer use { "williamboman/mason-lspconfig.nvim", commit = "0051870dd728f4988110a1b2d47f4a4510213e31" } use { "jose-elias-alvarez/null-ls.nvim", commit = "c0c19f32b614b3921e17886c541c13a72748d450" } -- for formatters and linters use { "RRethy/vim-illuminate", commit = "a2e8476af3f3e993bb0d6477438aad3096512e42" } -- Telescope use { "nvim-telescope/telescope.nvim", commit = "76ea9a898d3307244dce3573392dcf2cc38f340f" } use { "nvim-telescope/telescope-symbols.nvim", after = "telescope.nvim" } use { 'nvim-telescope/telescope-dap.nvim', after = "telescope.nvim" } -- Treesitter use { "nvim-treesitter/nvim-treesitter", commit = "8e763332b7bf7b3a426fd8707b7f5aa85823a5ac", } -- Git use { "lewis6991/gitsigns.nvim", commit = "2c6f96dda47e55fa07052ce2e2141e8367cbaaf2" } -- Registers use { "tversteeg/registers.nvim", config = function() require("registers").setup() end, } -- Session management plugin use { "tpope/vim-obsession", cmd = "Obsession" } use { 'norcalli/nvim-colorizer.lua'} -- Show undo history visually use { "simnalamburt/vim-mundo", cmd = { "MundoToggle", "MundoShow" } } -- Manage your yank history if vim.g.is_win or vim.g.is_mac then use { "svermeulen/vim-yoink", event = "VimEnter" } end --DAP Nvim debugger -- use 'mfussenegger/nvim-dap' --Debugger use {'Weissle/persistent-breakpoints.nvim'} --Breakpoints use 'ofirgall/goto-breakpoints.nvim' --Saltar a breakpoints use({ "andrewferrier/debugprint.nvim",--Hacer debug con prints config = function() require("debugprint").setup() end, }) use { "williamboman/mason.nvim", config = function() require('mason').setup() end} use {"williamboman/mason-lspconfig.nvim", config = function() require('mason-lspconfig').setup() end} use "neovim/nvim-lspconfig" -- Others use 'nanotee/zoxide.vim' use {'booperlv/nvim-gomove'} --Para duplicar y mover lineas de código use "krshrimali/nvim-autorunner" use { "folke/zen-mode.nvim", config = function() require("zen-mode").setup { -- your configuration comes here -- or leave it empty to use the default settings -- refer to the configuration section below } end } use 'DougBeney/pickachu' --Color picker use 'mattn/emmet-vim' --Emmet use 'easymotion/vim-easymotion' --EasyMotion TODO: configurar use({ "Pocco81/true-zen.nvim", config = function() require("true-zen").setup { } end, }) use { 'phaazon/hop.nvim', branch = 'v2', -- optional but strongly recommended config = function() -- you can configure Hop the way you like here; see :h hop-config require'hop'.setup { keys = 'etovxqpdygfblzhckisuran' } end } use 'https://github.com/stefandtw/quickfix-reflector.vim' --Quickfixes stuff use 'kuznetsss/shswitch' --Switch between header and classes use({ "kylechui/nvim-surround", --Operate with surrounders, including html tags (mirar documentacion si nose acuerda) tag = "*", -- Use for stability; omit to use `main` branch for the latest features config = function() require("nvim-surround").setup({ -- Configuration here, or leave empty to use defaults }) end }) --ALE is also installed but not listed here, it was installed directly --Hace uso de prettier eslint y otros embellecedores -- Investigar como funciona LSP antes de andar con esta wea -- use({ -- 'ray-x/navigator.lua', --Para navegar mejor con una pantallita pequeña -- requires = { -- { 'ray-x/guihua.lua', run = 'cd lua/fzy && make' }, -- { 'neovim/nvim-lspconfig' }, -- }, -- config = function() -- require'navigator'.setup() -- end -- }) use { "amrbashir/nvim-docs-view", -- Docs View for LSP opt = true, cmd = { "DocsViewToggle" }, config = function() require("docs-view").setup { position = "right", width = 60, } end } use 'gennaro-tedesco/nvim-peekup' --Mejor selector de registros, se usa con "" use { "cbochs/grapple.nvim", --Navegacion rapida a archivos (compleja, mirar documentacion, instalar vim 0.9?) requires = { "nvim-lua/plenary.nvim" }, } use 'gaborvecsei/memento.nvim' --Ir a un archivo accedido anteriormente (mapear a leader key) use { 's1n7ax/nvim-search-and-replace', --Default mappings leader + g + r/R/u/U config = function() require'nvim-search-and-replace'.setup() end, } -- use({ -- "utilyre/barbecue.nvim", --Añade una barra de contexto (en que función o clase estamos) -- requires = { -- "neovim/nvim-lspconfig", -- "SmiteshP/nvim-navic", -- "nvim-tree/nvim-web-devicons", -- optional dependency -- }, -- after = "nvim-web-devicons", -- keep this if you're using NvChad -- config = function() -- require("barbecue").setup() -- end, -- }) use { 'davidgranstrom/scnvim', -- Supercollider config = function() require('scnvim').setup() end } use 'ekickx/clipboard-image.nvim' -- Pegar Imagenes use { '0styx0/abbreinder.nvim', --Avisa cuando usas algo para lo que ya existe un snippet (no se que engine usa) requires = { { '0styx0/abbremand.nvim', module = 'abbremand' -- if want to lazy load } }, config = function() -- config can be empty to stay with defaults -- or anything can be changed, with anything unspecified -- retaining the default values require'abbreinder'.setup() end, event = 'BufRead', -- if want lazy load } use {'nvim-orgmode/orgmode', config = function() --Otro orgmode (hay que configurar) require('orgmode').setup_ts_grammar() require('orgmode').setup({ org_agenda_files = {'~/Dropbox/org/*', '~/my-orgs/**/*'}, org_default_notes_file = '~/Dropbox/org/refile.org', mappings = { global = { org_agenda = 'gA', org_capture = 'gC' } } }) end } use { 'michaelb/sniprun', run = 'bash ./install.sh'} --Corre un chachito de código (No se si funciona con lenguajes compilados), hay una repo de Arch para instalar si esto no funciona use {'hkupty/iron.nvim'} --Support para REPLs use 'Olical/conjure' --Otro REPL (no se cual va mejor) use({ 'mrjones2014/legendary.nvim', --Utilidad para nvim abreviaciones -- sqlite is only needed if you want to use frecency sorting -- requires = 'kkharji/sqlite.lua' }) -- -- use({ -- "Pocco81/auto-save.nvim", --Funcion de autoguardado -- config = function() -- require("auto-save").setup { -- -- your config goes here -- -- or just leave it empty :) -- } -- end, -- }) -- use 'nvim-treesitter/nvim-treesitter-context' -- Mete contexto? no se que hace exactamente use { 'rmagatti/auto-session', --ayuda para las sesiones config = function() require("auto-session").setup { log_level = "error", auto_session_suppress_dirs = { "~/", "~/Projects", "~/Downloads", "/"}, } end } use 'sindrets/winshift.nvim' --mover las ventanas más facilmente use { "jghauser/kitty-runner.nvim", --Mandar comandos a la terminal kitty config = function() require("kitty-runner").setup() --Hay que cambiar los keybindings end } use { "rcarriga/nvim-dap-ui", requires = {"mfussenegger/nvim-dap"} } --Interfaz para debugger use ({"ziontee113/color-picker.nvim", config = function() require("color-picker") end, }) -- use { -- 'ldelossa/nvim-ide', -- require('ide').setup({ -- -- The global icon set to use. -- -- values: "nerd", "codicon", "default" -- icon_set = "default", -- -- Set the log level for nvim-ide's log. Log can be accessed with -- -- 'Workspace OpenLog'. Values are 'debug', 'warn', 'info', 'error' -- log_level = "info", -- -- Component specific configurations and default config overrides. -- components = { -- -- The global keymap is applied to all Components before construction. -- -- It allows common keymaps such as "hide" to be overridden, without having -- -- to make an override entry for all Components. -- -- -- -- If a more specific keymap override is defined for a specific Component -- -- this takes precedence. -- global_keymaps = { -- -- example, change all Component's hide keymap to "h" -- -- hide = h -- }, -- -- example, prefer "x" for hide only for Explorer component. -- -- Explorer = { -- -- keymaps = { -- -- hide = "x", -- -- } -- -- } -- }, -- -- default panel groups to display on left and right. -- panels = { -- left = "explorer", -- right = "git" -- }, -- -- panels defined by groups of components, user is free to redefine the defaults -- -- and/or add additional. -- panel_groups = { -- explorer = { outline.Name, bufferlist.Name, explorer.Name, bookmarks.Name, callhierarchy.Name, terminalbrowser.Name }, -- terminal = { terminal.Name }, -- git = { changes.Name, commits.Name, timeline.Name, branches.Name } -- }, -- -- workspaces config -- workspaces = { -- -- which panels to open by default, one of: 'left', 'right', 'both', 'none' -- auto_open = 'left', -- }, -- -- default panel sizes for the different positions -- panel_sizes = { -- left = 30, -- right = 30, -- bottom = 15 -- } -- }) -- } use 'simrat39/rust-tools.nvim' use 'kevinhwang91/rnvimr' require("telescope").load_extension("command_center") use { "FeiyouG/command_center.nvim", requires = { "nvim-telescope/telescope.nvim" }, } -- Automatically set up your configuration after cloning packer.nvim -- Put this at the end after all plugins if PACKER_BOOTSTRAP then require("packer").sync() end end)
-
[plugin spotlight] replacer.nvim : Edit quickfix list like normal nvim buffer
It makes the quickfix buffer modifiable and saves the changes to the associated files. It can even rename files. (Another similar plugin quickfix-reflector.vim, which is a very solid plugin. Both are super good.)
-
VSCode -> VIM, but how do I accomplish the other IDE tasks?
You can even use quickfix-reflector.vim to fix compile errors directly from the quickfix (assuming sufficient line text appears in compile output).
- You workflow to search and replace text in project
-
What are some underrated tools every game developer should know?
Being able to search for \bCameraZoom\b.*= to see if the zoom is set in either code or data in script or native code is powerful. Making it fast enough that you do it without thinking cements it in your toolbox (where ripgrep comes in). Having an editor that lets you edit the search results and apply them back to the files is even more powerful. (Emacs or vim + quickfix-reflector can both do the latter.)
-
Keybinding to remove a quickfix entry
Personally I use https://github.com/stefandtw/quickfix-reflector.vim/ with these mappings
-
Lua alternative to quickfix-reflector.vim plug?
quickfix-reflector allows you to edit quick-fix list like any other buffer, and upon qf-buffer write- all affected files lines, from quick-fix list, are updated and saved. It breaks 'kevinhwang91/nvim-bqf' previews feature through. Is there lua version of this?
-
secondary class of buffers
Is it possible to open the buffer list as it's own buffer (like :copen for the quickfix list and edit it much like https://github.com/stefandtw/quickfix-reflector.vim allows)
What are some alternatives?
vim-dispatch - dispatch.vim: Asynchronous build and test dispatcher
nvim-spectre - Find the enemy and replace them with dark power.
lsp-zero.nvim - A starting point to setup some lsp related features in neovim.
greplace - Vim plugin to search and replace a pattern across multiple files interactively
fzf-lua - Improved fzf.vim written in lua
replacer.nvim - A powerful refactoring tool for nvim.
vim-fugitive - fugitive.vim: A Git wrapper so awesome, it should be illegal
ctrlsf.vim - A text searching plugin mimics Ctrl-Shift-F on Sublime Text 2
asynctasks.vim - :rocket: Modern Task System for Project Building, Testing and Deploying !!
fzf.vim - fzf :heart: vim
todoist.nvim - A todoist extension for neovim
vim-enmasse - Edit every line in a quickfix list at the same time