Attempt to assign leader key in VSCode Neovim
update .gitignore for mac systems
This commit is contained in:
parent
b1d357d804
commit
342255e050
|
@ -5,3 +5,4 @@ nvim
|
||||||
|
|
||||||
spell/
|
spell/
|
||||||
lazy-lock.json
|
lazy-lock.json
|
||||||
|
.DS_Store
|
||||||
|
|
2
init.lua
2
init.lua
|
@ -1,5 +1,7 @@
|
||||||
|
print("Loading Neovim Configuration..")
|
||||||
if vim.g.vscode then
|
if vim.g.vscode then
|
||||||
-- VSCode extension
|
-- VSCode extension
|
||||||
|
print("Loading VSCode Neovim Configuration..")
|
||||||
require 'vscode-init'
|
require 'vscode-init'
|
||||||
else
|
else
|
||||||
require 'cli-init'
|
require 'cli-init'
|
||||||
|
|
|
@ -1,5 +1,16 @@
|
||||||
-- VSCode Specific Neovim configuration
|
-- VSCode Specific Neovim configuration
|
||||||
|
|
||||||
|
-- * Custom Keybings * --
|
||||||
|
|
||||||
|
-- local keymap = vim.keymap.set
|
||||||
|
-- local opts = { nmap = true, silent = true }
|
||||||
|
|
||||||
|
-- Remap leader key
|
||||||
|
-- keymap("n", "<Space>", "", opts)
|
||||||
|
vim.g.mapleader = ' '
|
||||||
|
vim.g.maplocalleader = ' '
|
||||||
|
|
||||||
|
-- * VSCode Neovim Configuration
|
||||||
vim.g.have_nerd_font = true
|
vim.g.have_nerd_font = true
|
||||||
|
|
||||||
-- Sync clipboard between OS and Neovim.
|
-- Sync clipboard between OS and Neovim.
|
||||||
|
|
Loading…
Reference in New Issue