merge
This commit is contained in:
		
						commit
						ec424125e1
					
				| @ -15,6 +15,7 @@ PATH=$PATH:~/go/bin/ | ||||
| PATH=$PATH:~/.nimble/bin/ | ||||
| PATH=$PATH:~/Documents/suckless/dylan/opendylan-2024.1/bin | ||||
| PATH=$PATH:~/.config/emacs/bin/ | ||||
| PATH=$PATH:~/.mint/bin/ | ||||
| # don't put duplicate lines or lines starting with space in the history. | ||||
| # See bash(1) for more options | ||||
| HISTCONTROL=ignoreboth | ||||
| @ -130,9 +131,9 @@ alias zf='z $(flirt)' | ||||
| # You may want to put all your additions into a separate file like | ||||
| # ~/.bash_aliases, instead of adding them here directly. | ||||
| # See /usr/share/doc/bash-doc/examples in the bash-doc package. | ||||
| if [ -z "$EDITOR" ]; then | ||||
| # if [ -z "$EDITOR" ]; then | ||||
| export EDITOR='nvim' | ||||
| fi | ||||
| # fi | ||||
| 
 | ||||
| if [ -f ~/.bash_aliases ]; then | ||||
|     . ~/.bash_aliases | ||||
| @ -181,7 +182,7 @@ if [ -n "$(command -v tmux)" ] && [ -n "$(command -v kak)" ] && [ -z "$TMUX" ]; | ||||
| elif [ -n "$(command -v tmux)" ] && [ -n "$(command -v kak)" ]; then | ||||
|     SESH="$(tmux display-message -p '#S')" | ||||
|     # alias kak='kak -c $SESH 2>/dev/null || kak -s $SESH' | ||||
|     alias kak=run_kak | ||||
|     # alias kak=run_kak | ||||
|     # alias vidir='EDITOR="kak -c $SESH 2/dev/null || kak -s $SESH" vidir' | ||||
|     # alias vipe='EDITOR="kak -c $SESH 2>/dev/null|| kak -s $SESH" vipe' | ||||
| fi | ||||
|  | ||||
| @ -12,6 +12,7 @@ if [ $(pgrep polybar) ]; then | ||||
| else | ||||
| 	sleep .5 && polybar mainbar & | ||||
| fi | ||||
| pipewire-launch || pipewire-launch restart & | ||||
| #MONITOR=DP-5 polybar example & | ||||
| ~/.fehbg | ||||
| picom & | ||||
|  | ||||
| @ -893,16 +893,16 @@ xkb-options=['lv3:ralt_switch'] | ||||
| clock-format='12h' | ||||
| color-scheme='prefer-dark' | ||||
| cursor-size=24 | ||||
| cursor-theme='Chicago95_Animated_Hourglass_Cursors_HiDPI' | ||||
| cursor-theme='Adwaita' | ||||
| document-font-name='Cantarell 11' | ||||
| enable-animations=true | ||||
| enable-hot-corners=true | ||||
| font-antialiasing='rgba' | ||||
| font-hinting='slight' | ||||
| font-name='Ubuntu 10' | ||||
| gtk-theme='rose-pine-gtk' | ||||
| icon-theme='rose-pine-icons' | ||||
| monospace-font-name='Iosevka Term SS12 14' | ||||
| gtk-theme='Adwaita-dark' | ||||
| icon-theme='Adwaita' | ||||
| show-battery-percentage=true | ||||
| toolbar-style='text' | ||||
| clock-show-seconds=true | ||||
|  | ||||
| @ -42,3 +42,27 @@ pin = "46cf4ded12ee974a70bf8457263b67ad7ee0379d" | ||||
| 
 | ||||
| [language.typst.queries] | ||||
| path = "queries/typst" | ||||
| 
 | ||||
| # swift | ||||
| [language.swift.grammar.source.git] | ||||
| url = "https://github.com/alex-pinkus/tree-sitter-swift" | ||||
| pin = "57c1c6d6ffa1c44b330182d41717e6fe37430704" | ||||
| 
 | ||||
| [language.swift.grammar] | ||||
| path = "src" | ||||
| compile = "cc" | ||||
| compile_args = ["-c", "-fpic", "../scanner.c", "-I", ".."] | ||||
| compile_flags = ["-O3"] | ||||
| link = "cc" | ||||
| link_args = ["-shared", "-fpic", "scanner.o", "-o", "swift.so"] | ||||
| link_flags = ["-O3"] | ||||
| 
 | ||||
| [language.swift.queries.source.git] | ||||
| url = "https://github.com/helix-editor/helix" | ||||
| pin = "6bedca80646ce7350fb73029adf802ce7d9e241d" | ||||
| 
 | ||||
| # url = "https://github.com/alex-pinkus/tree-sitter-swift" | ||||
| # pin = "57c1c6d6ffa1c44b330182d41717e6fe37430704" | ||||
| 
 | ||||
| [language.swift.queries] | ||||
| path = "runtime/queries/swift" | ||||
|  | ||||
| @ -51,7 +51,6 @@ set-option global luar_interpreter luajit | ||||
| #eval %sh{ kak-tree-sitter -dks --with-text-objects --session $kak_session } | ||||
| #eval %sh{ kak-tree-sitter -dks  --with-highlighting --session $kak_session } | ||||
| eval %sh{ kak-tree-sitter -dksvvv --init $kak_session } | ||||
| 
 | ||||
| # evaluate-commands %sh{ | ||||
| #     echo "colorscheme base16-$BASE16_THEME" | ||||
| # } | ||||
| @ -227,6 +226,12 @@ face global InfoDiagnosticHint        Information | ||||
| face global InfoDiagnosticInformation Information | ||||
| face global InfoDiagnosticWarning     Information | ||||
| 
 | ||||
| hook -group lsp-filetype-swift global BufSetOption filetype=swift %{ | ||||
|     set-option buffer lsp_servers %{ | ||||
|         [sourcekit-lsp] | ||||
|         root_globs = [".git", ".hg"] | ||||
|     } | ||||
| } | ||||
| set-option global lsp_config %{ | ||||
| } | ||||
| 
 | ||||
|  | ||||
| @ -31,6 +31,8 @@ lsp_config.hls.setup{} | ||||
| 
 | ||||
| lsp_config.clojure_lsp.setup{} | ||||
| 
 | ||||
| lsp_config.sourcekit.setup{} | ||||
| 
 | ||||
| local cmp = require("cmp") | ||||
| local cmp_select = {behavior = cmp.SelectBehavior.Select} | ||||
| local cmp_mappings = lsp.defaults.cmp_mappings({ | ||||
|  | ||||
| @ -7,6 +7,32 @@ return require('packer').startup(function(use) | ||||
| 	-- Packer can manage itself | ||||
| 	use 'wbthomason/packer.nvim' | ||||
| 
 | ||||
|     use { | ||||
|         'jake-stewart/multicursor.nvim', | ||||
|         config = function() | ||||
|             local mc = require'multicursor-nvim' | ||||
|             mc.setup{} | ||||
|             local set = vim.keymap.set | ||||
|             set("n", "<leader>s", mc.searchAllAddCursors) | ||||
|             mc.addKeymapLayer(function(layerSet) | ||||
|                 -- Select a different cursor as the main one. | ||||
|                 layerSet({"n", "x"}, "<left>", mc.prevCursor) | ||||
|                 layerSet({"n", "x"}, "<right>", mc.nextCursor) | ||||
| 
 | ||||
|                 -- Delete the main cursor. | ||||
|                 layerSet({"n", "x"}, "<leader>x", mc.deleteCursor) | ||||
| 
 | ||||
|                 -- Enable and clear cursors using escape. | ||||
|                 layerSet("n", "<esc>", function() | ||||
|                     if not mc.cursorsEnabled() then | ||||
|                         mc.enableCursors() | ||||
|                     else | ||||
|                         mc.clearCursors() | ||||
|                     end | ||||
|                 end) | ||||
|             end) | ||||
|         end | ||||
|     } | ||||
| 	use { | ||||
| 		'nvim-telescope/telescope.nvim', | ||||
|         branch = '0.1.x', | ||||
|  | ||||
| @ -53,7 +53,7 @@ vim.keymap.set("n", "<C-->", function() | ||||
|     ChangeScaleFactor(1 / 1.25) | ||||
| end) | ||||
| 
 | ||||
| vim.opt.guifont = { "Fairfax", ":h12" } | ||||
| vim.opt.guifont = { "Iosevka Term SS12", ":h12" } | ||||
| vim.opt.termguicolors = true | ||||
| 
 | ||||
| vim.g.netrw_keepdir = 0 | ||||
|  | ||||
| @ -2,4 +2,4 @@ | ||||
| [Icon Theme] | ||||
| Name=Default | ||||
| Comment=Default Cursor Theme | ||||
| Inherits=BreezeX-RosePineDawn-Linux | ||||
| Inherits=Adwaita | ||||
|  | ||||
| @ -2,5 +2,5 @@ xrdb -merge ~/.Xresources | ||||
| # /home/mikec/.scripts/startup.sh | ||||
| # exec awesome | ||||
| # exec dwm | ||||
| # exec bspwm | ||||
| exec icewm | ||||
| exec bspwm | ||||
| # exec icewm | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Michael Chalupiak
						Michael Chalupiak