Compare commits

...

2 commits

Author SHA1 Message Date
Adam Cooper c520d3ec26 Remove duplicate colorscheme designation 2023-11-17 08:28:38 -05:00
Adam Cooper cb2da67191 First commit 2023-11-15 09:06:23 -05:00

View file

@ -1,21 +1,21 @@
HOME = os.getenv("HOME") HOME = os.getenv("HOME")
-- Configure the clipboard to access the "+ and "* registers -- Configure the clipboard to access the "+ and "* registers
-- (not sure why I need this now and didn't before) -- N.B. JavaScript copy buttons on the web do not necessarily work as expected
vim.opt.clipboard = "unnamedplus,unnamed" vim.opt.clipboard = "unnamedplus,unnamed"
-- Spaces indentation -- Spaces indentation
vim.opt.expandtab = true vim.opt.expandtab = true -- converts tabs to spaces
vim.opt.tabstop = 2 vim.opt.tabstop = 2 -- tab equals 2 spaces
vim.opt.shiftwidth = 2 vim.opt.shiftwidth = 2 -- indent size in characters
-- Show whitespace -- Show whitespace (:list)
vim.opt.listchars = "eol:¬,tab:>-,trail:~,extends:>,precedes:<,space:·" vim.opt.listchars = "eol:¬,tab:>-,trail:~,extends:>,precedes:<,space:·"
-- Show line numbers -- Show line numbers
vim.opt.number = true vim.opt.number = true
-- Default: split right -- Vertically splitting a window (:vsplit) places new window to the right
vim.opt.splitright = true vim.opt.splitright = true
-- Highlight cursor line -- Highlight cursor line
@ -32,7 +32,8 @@ vim.opt.termguicolors = true
vim.opt.scrolloff = 5 vim.opt.scrolloff = 5
-- netrw -- netrw
vim.g.netrw_winsize = 25 -- This is the workspace file explorer
vim.g.netrw_winsize = 25 -- width of the file explorer
vim.g.netrw_liststyle = 3 -- tree style listing vim.g.netrw_liststyle = 3 -- tree style listing
-- Escape exits terminal mode -- Escape exits terminal mode
@ -355,9 +356,6 @@ require('lspsaga').setup()
-- Switch syntax highlighting on -- Switch syntax highlighting on
vim.cmd("syntax enable") vim.cmd("syntax enable")
-- Set color scheme
vim.cmd("colorscheme dracula")
-- Temporary file locations -- Temporary file locations
vim.opt.backupdir = ".backup/," .. HOME .. "/.backup/,/tmp//" vim.opt.backupdir = ".backup/," .. HOME .. "/.backup/,/tmp//"
vim.opt.directory = ".swp/," .. HOME .. "/.swp/,/tmp//" vim.opt.directory = ".swp/," .. HOME .. "/.swp/,/tmp//"