Add cursor open and reset my leader key
Leader being set to space was seemingly not working. Set it back to the default since I don't really use leader that often
This commit is contained in:
parent
60458b51c9
commit
c2d9017d1c
2 changed files with 17 additions and 1 deletions
|
@ -1,11 +1,13 @@
|
||||||
{
|
{
|
||||||
"ale": { "branch": "master", "commit": "2e5f135836a700dcc6b787f10097ebdeb8e22abb" },
|
"ale": { "branch": "master", "commit": "2e5f135836a700dcc6b787f10097ebdeb8e22abb" },
|
||||||
"copilot.vim": { "branch": "release", "commit": "87038123804796ca7af20d1b71c3428d858a9124" },
|
"copilot.vim": { "branch": "release", "commit": "87038123804796ca7af20d1b71c3428d858a9124" },
|
||||||
|
"cursor_open.nvim": { "branch": "main", "commit": "9d8dfac0142233de872765e31378c647829576ee" },
|
||||||
"editorconfig-vim": { "branch": "master", "commit": "ba2ce027c5b0e523e658d24657ce3ae3306c9fe0" },
|
"editorconfig-vim": { "branch": "master", "commit": "ba2ce027c5b0e523e658d24657ce3ae3306c9fe0" },
|
||||||
"fzf": { "branch": "master", "commit": "90a8800bb596cd98e103788096f2780ee97100b4" },
|
"fzf": { "branch": "master", "commit": "90a8800bb596cd98e103788096f2780ee97100b4" },
|
||||||
"fzf.vim": { "branch": "master", "commit": "ec75ffbfd50630bf2b8d444d89487e149bacf7f3" },
|
"fzf.vim": { "branch": "master", "commit": "ec75ffbfd50630bf2b8d444d89487e149bacf7f3" },
|
||||||
"lazy.nvim": { "branch": "main", "commit": "077102c5bfc578693f12377846d427f49bc50076" },
|
"lazy.nvim": { "branch": "main", "commit": "077102c5bfc578693f12377846d427f49bc50076" },
|
||||||
"solarized-osaka.nvim": { "branch": "main", "commit": "126d394c0c979a99206214a2b6b8c86e456c9c0f" },
|
"solarized-osaka.nvim": { "branch": "main", "commit": "126d394c0c979a99206214a2b6b8c86e456c9c0f" },
|
||||||
|
"telescope.nvim": { "branch": "master", "commit": "a4ed82509cecc56df1c7138920a1aeaf246c0ac5" },
|
||||||
"tsuquyomi": { "branch": "master", "commit": "e1afca562d46907bf63270157c88b7ec8f66e46b" },
|
"tsuquyomi": { "branch": "master", "commit": "e1afca562d46907bf63270157c88b7ec8f66e46b" },
|
||||||
"typescript-vim": { "branch": "master", "commit": "8d169e16b5487771f6568125d4c63e6086e524d9" },
|
"typescript-vim": { "branch": "master", "commit": "8d169e16b5487771f6568125d4c63e6086e524d9" },
|
||||||
"vim-gh-line": { "branch": "master", "commit": "731751fdfa4f64a061dbc7088cb7b2f12e0828ad" },
|
"vim-gh-line": { "branch": "master", "commit": "731751fdfa4f64a061dbc7088cb7b2f12e0828ad" },
|
||||||
|
|
|
@ -20,7 +20,7 @@ vim.opt.rtp:prepend(lazypath)
|
||||||
-- Make sure to setup `mapleader` and `maplocalleader` before loading lazy.nvim
|
-- Make sure to setup `mapleader` and `maplocalleader` before loading lazy.nvim
|
||||||
-- so that mappings are correct. This is also a good place to setup other
|
-- so that mappings are correct. This is also a good place to setup other
|
||||||
-- settings (vim.opt)
|
-- settings (vim.opt)
|
||||||
vim.g.mapleader = ' '
|
vim.g.mapleader = '\\'
|
||||||
vim.g.maplocalleader = '\\'
|
vim.g.maplocalleader = '\\'
|
||||||
|
|
||||||
require('lazy').setup({
|
require('lazy').setup({
|
||||||
|
@ -34,6 +34,8 @@ require('lazy').setup({
|
||||||
event = 'VimEnter',
|
event = 'VimEnter',
|
||||||
},
|
},
|
||||||
{ 'junegunn/fzf.vim' },
|
{ 'junegunn/fzf.vim' },
|
||||||
|
-- File exploration and navigation (new)
|
||||||
|
{ 'nvim-telescope/telescope.nvim' },
|
||||||
-- Languages and syntax
|
-- Languages and syntax
|
||||||
{ 'sheerun/vim-polyglot' },
|
{ 'sheerun/vim-polyglot' },
|
||||||
-- Style guide and linting
|
-- Style guide and linting
|
||||||
|
@ -49,6 +51,18 @@ require('lazy').setup({
|
||||||
-- GitHub integration
|
-- GitHub integration
|
||||||
{ 'github/copilot.vim' },
|
{ 'github/copilot.vim' },
|
||||||
{ 'ruanyl/vim-gh-line' },
|
{ 'ruanyl/vim-gh-line' },
|
||||||
|
-- Cursor integration
|
||||||
|
{
|
||||||
|
'yuucu/cursor_open.nvim',
|
||||||
|
cmd = { 'CursorOpen' },
|
||||||
|
keys = {
|
||||||
|
{ '<leader>oc', ':CursorOpen<CR>', desc = '[O]pen in [C]ursor' },
|
||||||
|
{ '<leader>oC', ':CursorOpen!<CR>', desc = '[O]pen in [C]ursor (new window)' },
|
||||||
|
},
|
||||||
|
config = function()
|
||||||
|
require('cursor_open').setup()
|
||||||
|
end
|
||||||
|
},
|
||||||
},
|
},
|
||||||
install = { colorscheme = { 'solarized-osaka' } },
|
install = { colorscheme = { 'solarized-osaka' } },
|
||||||
checker = { enabled = true },
|
checker = { enabled = true },
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue