diff options
-rwxr-xr-x[-rw-r--r--] | .bashrc | 5 | ||||
-rw-r--r-- | .config/nvim/lua/general.lua | 3 | ||||
-rw-r--r-- | .config/nvim/lua/plugins.lua | 4 | ||||
-rwxr-xr-x[-rw-r--r--] | .profile | 0 | ||||
-rw-r--r-- | .tcshrc | 20 | ||||
-rw-r--r-- | README.md | 6 |
6 files changed, 35 insertions, 3 deletions
@@ -41,5 +41,8 @@ done GPG_TTY="$(tty)" export GPG_TTY -eval "$(starship init bash)" +if [ -n "$(which starship)" ] +then + eval "$(starship init bash)" +fi diff --git a/.config/nvim/lua/general.lua b/.config/nvim/lua/general.lua index 28b4980..8864a2e 100644 --- a/.config/nvim/lua/general.lua +++ b/.config/nvim/lua/general.lua @@ -8,7 +8,8 @@ vim.opt.undofile = true vim.opt.backupcopy = "yes" vim.opt.undolevels = 1000 vim.opt.wrap = false -vim.opt.colorcolumn = "80,120" +vim.opt.colorcolumn = "80" +vim.opt.scrolloff = 5 -- vim.opt.tabstop = 4 -- vim.opt.softtabstop = -1 diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index a6a411b..de3025e 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua @@ -42,6 +42,7 @@ local PKGS = { { url = "https://github.com/editorconfig/editorconfig-vim.git" }; { url = "https://github.com/nathom/filetype.nvim.git" }; { url = "https://github.com/wfxr/minimap.vim.git" }; + { url = "https://github.com/edluffy/hologram.nvim.git" }; -- LSP { url = "https://github.com/neovim/nvim-lspconfig.git" }; @@ -180,7 +181,8 @@ local function init_plugins() -- or leave it empty to use the default settings -- refer to the configuration section below }) - vim.fn["mkdp#util#install"]() + + require('hologram').setup({}) require("nvim-treesitter.configs").setup({ ensure_installed = { "javascript"; "typescript"; "lua"; "c_sharp"; "jsonc" }; @@ -0,0 +1,20 @@ +#!/usr/bin/env tcsh + +"$HOME/.profile" + +set BAT=`which bat || which batcat` + +if ( "$BAT" != "" ) then + alias cat "$BAT -p" +endif + +alias cls clear +alias ls `which lsd || echo "ls -h -F --color=auto"` +alias sudo `which doas || which sudo || echo "su -c"` + +set STARSHIP=`which starship` + +if ( "$STARSHIP" != "" ) then + eval `starship init tcsh` +endif + @@ -38,3 +38,9 @@ Here is an incomplete list of the required dependencies for each configuration. - [deno](https://deno.land) - [git](https://git-scm.com/) +Also need to run this to get :MarkdownPreview to work + +```sh +:lua vim.fn["mkdp#util#install"]() +``` + |