Compare commits

..

No commits in common. "c520d3ec26b024bb129fa0aab10b176ac5dd3d90" and "c1e9169c7fffeacead9f5fd3f638ad630f080a62" have entirely different histories.

View file

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