~kota/dots

eee04c0b13db652e38a7679be7d05b2610f22790 — Dakota Walsh 1 year, 9 months ago ce7a2c8
misc neovim changes
M git/.gitignore_global => git/.gitignore_global +1 -0
@@ 1,2 1,3 @@
# Direnv stuff
.autoenv.zsh
.vim-bookmarks

M neovim/.config/nvim/lua/maps.lua => neovim/.config/nvim/lua/maps.lua +23 -2
@@ 82,10 82,10 @@ map("n", "<space>/", "", {
	end,
})

map("n", "<space>F", "", {
map("n", "<space>G", "", {
	noremap = true,
	callback = function()
		require("telescope.builtin").git_files()
		require("telescope.builtin").git_status()
	end,
})



@@ 103,6 103,13 @@ map("n", "<space>b", "", {
	end,
})

map("n", "<space>B", "", {
	noremap = true,
	callback = function()
		require("telescope.builtin").oldfiles()
	end,
})

map("n", "z=", "", {
	noremap = true,
	callback = function()


@@ 138,6 145,20 @@ map("n", "<space>ca", "", {
	end,
})

map("n", "ma", "", {
	noremap = true,
	callback = function()
		require('telescope').extensions.vim_bookmarks.all()
	end,
})

map("n", "mA", "", {
	noremap = true,
	callback = function()
		require('telescope').extensions.vim_bookmarks.current_file()
	end,
})

-- Trouble error list
map("n", "<space>el", ":TroubleToggle<CR>", noremap)


M neovim/.config/nvim/lua/plugins/init.lua => neovim/.config/nvim/lua/plugins/init.lua +18 -8
@@ 12,9 12,6 @@ require('packer').startup(function(use)
		config = function() require('impatient') end
	}

	-- Support "editorconfig" spec
	use "gpanders/editorconfig.nvim"

	-- Colorscheme
	use '~/g/far-left'
	use 'RRethy/nvim-base16'


@@ 78,8 75,8 @@ require('packer').startup(function(use)

	-- Fuzzy searcher
	use 'nvim-telescope/telescope.nvim'
	-- use 'nvim-telescope/telescope-ui-select.nvim'
	use { 'nvim-telescope/telescope-fzf-native.nvim', run = 'make' }
	use 'tom-anders/telescope-vim-bookmarks.nvim'

	-- dirbuf as filemanager
	use "elihunter173/dirbuf.nvim"


@@ 92,8 89,8 @@ require('packer').startup(function(use)
	use { '~/g/wiki-ft.vim', ft = 'wiki' }

	-- Auto-close brackets and such when hitting enter
	use 'rstacruz/vim-closer'
	use 'tpope/vim-endwise' -- TODO: Add markdown ``` support
	-- use 'rstacruz/vim-closer'
	-- use 'tpope/vim-endwise' -- TODO: Add markdown ``` support

	-- Comment things in/out
	use {


@@ 120,6 117,9 @@ require('packer').startup(function(use)
	-- Close all buffers except the current
	use 'vim-scripts/BufOnly.vim'

	-- Bookmarks (project wide marks)
	use 'MattesGroeger/vim-bookmarks'

	-- Adds a cx "exchange" operator to swap selections
	use 'tommcdo/vim-exchange'



@@ 147,7 147,7 @@ require('packer').startup(function(use)
		run = 'make hexokinase'
	}

	-- Move blocks of selected text around
	-- Move blocks of selected text around with arrow keys
	use 'zirrostig/vim-schlepp'

	-- Make * search work in visual mode


@@ 175,8 175,13 @@ require("dirbuf").setup {
	write_cmd = "DirbufSync",
}

require('telescope').setup {}
require('telescope').setup {
	defaults = {
		path_display = { 'truncate' },
	}
}
require('telescope').load_extension('fzf')
require('telescope').load_extension('vim_bookmarks')

-- hexokinase
vim.g.Hexokinase_optInPatterns = 'full_hex,rgb,rgba,hsl,hsla'


@@ 184,3 189,8 @@ vim.g.Hexokinase_optInPatterns = 'full_hex,rgb,rgba,hsl,hsla'
-- wiki.vim
vim.g.wiki_root = "~/docs/memex"
vim.g.wiki_filetypes = { 'md', 'wiki' }

-- bookmarks
vim.g.bookmark_save_per_working_dir = 1
vim.g.bookmark_center = 1
vim.g.bookmark_auto_save = 1

M neovim/.config/nvim/lua/plugins/theme.dark => neovim/.config/nvim/lua/plugins/theme.dark +1 -1
@@ 3,7 3,7 @@ require('base16-colorscheme').setup({
base00 = "#000000",
base01 = "#282828",
base02 = "#383838",
base03 = "#888888",
base03 = "#5a5a5a",
base04 = "#b8b8b8",
base05 = "#d8d8d8",
base06 = "#e8e8e8",

M neovim/.config/nvim/lua/plugins/theme.lua => neovim/.config/nvim/lua/plugins/theme.lua +1 -1
@@ 1,1 1,1 @@
./theme.dark
\ No newline at end of file
./theme.light
\ No newline at end of file

M neovim/.config/nvim/lua/settings.lua => neovim/.config/nvim/lua/settings.lua +1 -1
@@ 7,7 7,7 @@ g.do_filetype_lua = 1
g.did_load_filetypes = 0

-- Make neovim pretty
o.relativenumber = true
o.number = true
o.cursorline = true
o.colorcolumn = "80"
o.showmode = false

M neovim/.config/nvim/spell/en.utf-8.add => neovim/.config/nvim/spell/en.utf-8.add +4 -0
@@ 38,3 38,7 @@ minecrafter
youtube
racialized
laggy
linux
fsf
fsf's
minikube

M neovim/.config/nvim/spell/en.utf-8.add.spl => neovim/.config/nvim/spell/en.utf-8.add.spl +0 -0