initial commit
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
vim.opt_local.expandtab = false
|
||||
vim.opt_local.autoindent = true
|
||||
vim.opt_local.smarttab = true
|
||||
vim.opt_local.tabstop = 2
|
||||
vim.opt_local.shiftwidth = 2
|
||||
@@ -0,0 +1,5 @@
|
||||
vim.opt_local.expandtab = false
|
||||
vim.opt_local.autoindent = true
|
||||
vim.opt_local.smarttab = true
|
||||
vim.opt_local.tabstop = 2
|
||||
vim.opt_local.shiftwidth = 2
|
||||
@@ -0,0 +1,18 @@
|
||||
-- txt specific settings
|
||||
vim.opt.wrap = true -- Wrap text
|
||||
vim.opt.breakindent = true -- Match indent on line break
|
||||
vim.opt.linebreak = true -- Line break on whole words
|
||||
|
||||
-- Spell check
|
||||
vim.opt.spelllang = 'en_us'
|
||||
vim.opt.spell = true
|
||||
|
||||
-- alter up and down arrows for better text navigation
|
||||
vim.keymap.set("n", "<Down>", "gj")
|
||||
vim.keymap.set("n", "<Up>", "gk")
|
||||
|
||||
-- also in insert mode
|
||||
-- vim.keymap.set("i", "<Down>", "<C-o>gj")
|
||||
-- vim.keymap.set("i", "<Up>", "<C-o>gk")
|
||||
|
||||
vim.cmd(':Copilot disable')
|
||||
@@ -0,0 +1,8 @@
|
||||
vim.opt_local.expandtab = true
|
||||
vim.opt_local.autoindent = true
|
||||
vim.opt_local.smarttab = true
|
||||
vim.opt_local.tabstop = 4
|
||||
vim.opt_local.textwidth = 80
|
||||
|
||||
-- Set the indent after opening parenthesis
|
||||
vim.g.pyindent_open_paren = vim.bo.shiftwidth
|
||||
@@ -0,0 +1,14 @@
|
||||
-- txt specific settings
|
||||
vim.opt.wrap = true -- Wrap text
|
||||
vim.opt.breakindent = true -- Match indent on line break
|
||||
vim.opt.linebreak = true -- Line break on whole words
|
||||
|
||||
-- Spell check
|
||||
vim.opt.spelllang = 'en_us'
|
||||
vim.opt.spell = true
|
||||
|
||||
-- alter up and down arrows for better text navigation
|
||||
vim.keymap.set("n", "<Down>", "gj")
|
||||
vim.keymap.set("n", "<Up>", "gk")
|
||||
|
||||
vim.cmd(':Copilot disable')
|
||||
@@ -0,0 +1,5 @@
|
||||
vim.opt_local.expandtab = false
|
||||
vim.opt_local.autoindent = true
|
||||
vim.opt_local.smarttab = true
|
||||
vim.opt_local.tabstop = 2
|
||||
vim.opt_local.shiftwidth = 2
|
||||
@@ -0,0 +1,5 @@
|
||||
vim.opt_local.expandtab = false
|
||||
vim.opt_local.autoindent = true
|
||||
vim.opt_local.smarttab = true
|
||||
vim.opt_local.tabstop = 2
|
||||
vim.opt_local.shiftwidth = 2
|
||||
Reference in New Issue
Block a user