mirror of https://github.com/turtlebasket/env
Compare commits
No commits in common. "28ab0d57b750f9ff6adcf38e2ce65a453aecbf92" and "a695ed26c7a7961782f42c6521ae8305abaf77d8" have entirely different histories.
28ab0d57b7
...
a695ed26c7
|
@ -1,4 +0,0 @@
|
||||||
:: Create a shortcut to this, then move to $shell:startup
|
|
||||||
|
|
||||||
.\BasicUtils.ahk
|
|
||||||
|
|
|
@ -37,6 +37,7 @@ Plug 'nvim-lua/plenary.nvim'
|
||||||
Plug 'nvim-telescope/telescope.nvim'
|
Plug 'nvim-telescope/telescope.nvim'
|
||||||
Plug 'akinsho/toggleterm.nvim', {'tag' : 'v1.*'}
|
Plug 'akinsho/toggleterm.nvim', {'tag' : 'v1.*'}
|
||||||
" Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
" Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||||
|
Plug 'ms-jpq/coq_nvim', {'branch': 'coq'}
|
||||||
Plug 'neovim/nvim-lspconfig'
|
Plug 'neovim/nvim-lspconfig'
|
||||||
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
|
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
|
||||||
Plug 'jiangmiao/auto-pairs'
|
Plug 'jiangmiao/auto-pairs'
|
||||||
|
@ -68,6 +69,7 @@ if exists("g:neovide")
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Start up plugins
|
" Start up plugins
|
||||||
|
autocmd VimEnter * :COQnow
|
||||||
autocmd VimEnter * :TSEnable highlight
|
autocmd VimEnter * :TSEnable highlight
|
||||||
|
|
||||||
" Navigation & Shortcuts
|
" Navigation & Shortcuts
|
|
@ -1,74 +0,0 @@
|
||||||
-- aliases
|
|
||||||
|
|
||||||
local o = vim.o
|
|
||||||
local c = vim.cmd
|
|
||||||
local map = vim.api.nvim_set_keymap
|
|
||||||
|
|
||||||
-- options
|
|
||||||
|
|
||||||
o.termguicolors = true
|
|
||||||
o.mouse = 'a'
|
|
||||||
o.autoindent = true
|
|
||||||
o.wrap = true
|
|
||||||
o.nobinary = true
|
|
||||||
o.relativenumber = true
|
|
||||||
o.tabstop = 4
|
|
||||||
o.shiftwidth = 4
|
|
||||||
c.colorscheme 'catppuccin'
|
|
||||||
|
|
||||||
-- keybinds
|
|
||||||
|
|
||||||
-- file management
|
|
||||||
map('n', '<c-t>', ':CHADopen<cr>', {silent = true})
|
|
||||||
|
|
||||||
map('n', '<c-`>', ':ToggleTerm<cr>', {silent = true})
|
|
||||||
-- exit terminal requires <Cmd> prefix
|
|
||||||
map('t', '<c-`>', '<Cmd>:ToggleTerm<cr>', {silent = true})
|
|
||||||
|
|
||||||
map('n', '<Space>gs', ':Telescope git_status<cr>', {silent = true})
|
|
||||||
map('n', '<Space>gc', ':Telescope git_commits<cr>', {silent = true})
|
|
||||||
map('n', '<Space><Space>', ':Telescope find_files<cr>', {silent = true})
|
|
||||||
|
|
||||||
-- buffer management
|
|
||||||
map('n', '<c-h>', ':bp<cr>', {silent = true})
|
|
||||||
map('n', '<c-l>', ':bn<cr>', {silent = true})
|
|
||||||
|
|
||||||
-- plugin configs
|
|
||||||
|
|
||||||
vim.g['airline_powerline_fonts'] = 1
|
|
||||||
vim.g['airline_theme'] = 'powerlineish'
|
|
||||||
vim.g['airline#extensions#tabline#enabled'] = 1
|
|
||||||
vim.g['airline#extensions#tabline#fnamemod'] = ':t'
|
|
||||||
|
|
||||||
-- plugin imports
|
|
||||||
|
|
||||||
return require('packer').startup(function(use)
|
|
||||||
|
|
||||||
-- Packer can manage itself
|
|
||||||
use 'wbthomason/packer.nvim'
|
|
||||||
|
|
||||||
|
|
||||||
-- Visual
|
|
||||||
use 'vim-airline/vim-airline'
|
|
||||||
use 'vim-airline/vim-airline-themes'
|
|
||||||
use { "catppuccin/nvim", as = "catppuccin" }
|
|
||||||
|
|
||||||
-- Editor
|
|
||||||
use {'neovim/nvim-lspconfig', config = function()
|
|
||||||
local lspc = require('lspconfig')
|
|
||||||
lspc['pyright'].setup{}
|
|
||||||
lspc['tsserver'].setup{}
|
|
||||||
lspc['rust-analyzer'].setup{}
|
|
||||||
end}
|
|
||||||
use {'ms-jpq/chadtree', branch = 'chad'}
|
|
||||||
use 'nvim-lua/plenary.nvim'
|
|
||||||
use 'nvim-telescope/telescope.nvim'
|
|
||||||
use {"akinsho/toggleterm.nvim", tag = '*', config = function()
|
|
||||||
require("toggleterm").setup()
|
|
||||||
end}
|
|
||||||
use {'nvim-treesitter/nvim-treesitter', run = ':TSUpdate', config = function()
|
|
||||||
vim.cmd[[TSEnable highlight]]
|
|
||||||
end}
|
|
||||||
|
|
||||||
end)
|
|
||||||
|
|
Loading…
Reference in New Issue