-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1b1a42d
commit ae942b0
Showing
13 changed files
with
157 additions
and
128 deletions.
There are no files selected for viewing
Binary file modified
BIN
+362 Bytes
(100%)
aspects/dotfiles/files/.local/share/autojump/autojump.txt
Binary file not shown.
Binary file modified
BIN
+280 Bytes
(100%)
aspects/dotfiles/files/.local/share/autojump/autojump.txt.bak
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,69 +1,83 @@ | ||
-- This file is automatically loaded by plugins.config | ||
local M = {} | ||
|
||
local opt = vim.opt | ||
local g = vim.g | ||
|
||
g.mapleader = " " -- Set the leader key | ||
g.maplocalleader = " " -- Set the local leader key | ||
g.netrw_banner = 0 -- Remove the banner above netrw | ||
g.markdown_recommended_style = 0 -- Fix markdown indentation settings | ||
M.general = function() | ||
g.mapleader = " " -- Set the leader key | ||
g.maplocalleader = " " -- Set the local leader key | ||
g.netrw_banner = 0 -- Remove the banner above netrw | ||
g.markdown_recommended_style = 0 -- Fix markdown indentation settings | ||
|
||
opt.autowrite = true -- Enable auto write | ||
opt.clipboard = "unnamedplus" -- Sync with system clipboard | ||
opt.completeopt = "menu,menuone,noselect" | ||
opt.conceallevel = 2 -- Hide * markup for bold and italic | ||
opt.confirm = true -- Confirm to save changes before exiting modified buffer | ||
opt.cursorline = true -- Enable highlighting of the current line | ||
opt.expandtab = true -- Use spaces instead of tabs | ||
opt.formatoptions = "jcroqlnt" -- Tcqj | ||
opt.grepformat = "%f:%l:%c:%m" -- Format | ||
opt.grepprg = "rg --vimgrep" -- For searching | ||
opt.ignorecase = true -- Ignore case | ||
opt.inccommand = "nosplit" -- Preview incremental substitute | ||
opt.laststatus = 3 -- Make statusbar cover entire area | ||
opt.list = true -- Show some invisible characters (tabs... | ||
opt.mouse = "a" -- Enable mouse mode | ||
opt.number = true -- Print line number | ||
opt.pumblend = 10 -- Popup blend | ||
opt.pumheight = 10 -- Maximum number of entries in a popup | ||
opt.relativenumber = true -- Relative line numbers | ||
opt.scrolloff = 4 -- Lines of context | ||
opt.sessionoptions = { "buffers", "curdir", "tabpages", "winsize" } | ||
opt.shiftround = true -- Round indent | ||
opt.shiftwidth = 2 -- Size of an indent | ||
opt.shortmess:append { W = true, I = true, c = true } | ||
opt.showmode = false -- Dont show mode since we have a statusline | ||
opt.sidescrolloff = 8 -- Columns of context | ||
opt.smartcase = true -- Don't ignore case with capitals | ||
opt.smartindent = true -- Insert indents automatically | ||
opt.spelllang = { "en" } -- Languages used for spell check | ||
opt.splitbelow = true -- Put new windows below current | ||
opt.splitright = true -- Put new windows right of current | ||
opt.tabstop = 2 -- Number of spaces tabs count for | ||
opt.termguicolors = true -- True color support | ||
opt.timeoutlen = 300 -- Timeout in milliseconds before which key pops up | ||
opt.undofile = true -- Keep undo files | ||
opt.undolevels = 10000 -- Level of undo times | ||
opt.updatetime = 200 -- Save swap file and trigger CursorHold | ||
opt.wildmode = "longest:full,full" -- Command-line completion mode | ||
opt.winminwidth = 5 -- Minimum window width | ||
opt.wrap = false -- Disable line wrap | ||
opt.foldenable = false -- Disable Folds | ||
opt.foldmethod = "manual" -- "manual" for manual folds; "expr" | ||
opt.foldexpr = "nvim_treesitter#foldexpr()" -- use treesitter to generate folds | ||
opt.foldcolumn = "1" | ||
opt.foldlevel = 2 -- Fold levels opened at file opens | ||
opt.foldlevelstart = 99 | ||
opt.foldnestmax = 3 -- Max level of fold | ||
opt.signcolumn = "yes" -- Always show the signcolumn, otherwise it would shift the text each time | ||
opt.autowrite = true -- Enable auto write | ||
opt.clipboard = "unnamedplus" -- Sync with system clipboard | ||
opt.completeopt = "menu,menuone,noselect" | ||
opt.conceallevel = 2 -- Hide * markup for bold and italic | ||
opt.confirm = true -- Confirm to save changes before exiting modified buffer | ||
opt.cursorline = true -- Enable highlighting of the current line | ||
opt.expandtab = true -- Use spaces instead of tabs | ||
opt.formatoptions = "jcroqlnt" -- Tcqj | ||
opt.grepformat = "%f:%l:%c:%m" -- Format | ||
opt.grepprg = "rg --vimgrep" -- For searching | ||
opt.ignorecase = true -- Ignore case | ||
opt.inccommand = "nosplit" -- Preview incremental substitute | ||
opt.laststatus = 3 -- Make statusbar cover entire area | ||
opt.list = true -- Show some invisible characters (tabs... | ||
opt.mouse = "a" -- Enable mouse mode | ||
opt.number = true -- Print line number | ||
opt.pumblend = 10 -- Popup blend | ||
opt.pumheight = 10 -- Maximum number of entries in a popup | ||
opt.relativenumber = true -- Relative line numbers | ||
opt.scrolloff = 4 -- Lines of context | ||
opt.sessionoptions = { "buffers", "curdir", "tabpages", "winsize" } | ||
opt.shiftround = true -- Round indent | ||
opt.shiftwidth = 2 -- Size of an indent | ||
opt.shortmess:append({ W = true, I = true, c = true }) | ||
opt.showmode = false -- Dont show mode since we have a statusline | ||
opt.sidescrolloff = 8 -- Columns of context | ||
opt.smartcase = true -- Don't ignore case with capitals | ||
opt.smartindent = true -- Insert indents automatically | ||
opt.spelllang = { "en" } -- Languages used for spell check | ||
opt.splitbelow = true -- Put new windows below current | ||
opt.splitright = true -- Put new windows right of current | ||
opt.tabstop = 2 -- Number of spaces tabs count for | ||
opt.termguicolors = true -- True color support | ||
opt.timeoutlen = 300 -- Timeout in milliseconds before which key pops up | ||
opt.undofile = true -- Keep undo files | ||
opt.undolevels = 10000 -- Level of undo times | ||
opt.updatetime = 200 -- Save swap file and trigger CursorHold | ||
opt.wildmode = "longest:full,full" -- Command-line completion mode | ||
opt.winminwidth = 5 -- Minimum window width | ||
opt.wrap = false -- Disable line wrap | ||
opt.foldenable = false -- Disable Folds | ||
opt.foldmethod = "manual" -- "manual" for manual folds; "expr" | ||
opt.foldexpr = "nvim_treesitter#foldexpr()" -- use treesitter to generate folds | ||
opt.foldcolumn = "1" | ||
opt.foldlevel = 2 -- Fold levels opened at file opens | ||
opt.foldlevelstart = 99 | ||
opt.foldnestmax = 3 -- Max level of fold | ||
opt.signcolumn = "yes" -- Always show the signcolumn, otherwise it would shift the text each time | ||
|
||
local fcs = vim.opt.fillchars:get() | ||
if vim.fn.has("nvim-0.9.0") == 1 then | ||
opt.splitkeep = "screen" | ||
opt.shortmess:append({ C = true }) | ||
end | ||
|
||
if vim.fn.has("nvim-0.9.0") == 1 then | ||
opt.splitkeep = "screen" | ||
opt.shortmess:append { C = true } | ||
-- DO NOT INCLUDE THIS | ||
vim.cmd("set rtp+=~/Documents/school-notes/current-course") | ||
-- DO NOT INCLUDE THIS | ||
end | ||
|
||
-- DO NOT INCLUDE THIS | ||
vim.cmd("set rtp+=~/Documents/school-notes/current-course") | ||
-- DO NOT INCLUDE THIS | ||
-- Function for setting tex options | ||
M.tex = function() | ||
opt.spell = true | ||
opt.tw = 80 | ||
opt.fillchars = { fold = " ", vert = "│" } | ||
opt.foldlevel = 0 | ||
opt.foldmethod = "expr" | ||
opt.foldexpr = "vimtex#fold#level(v:lnum)" | ||
opt.foldtext = "vimtex#fold#text()" | ||
end | ||
|
||
return M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.