Minor edit moving some lines around.

This commit is contained in:
Derek Taylor
2022-09-05 12:52:29 -05:00
parent eeaa72eaff
commit 344c5076e3
2 changed files with 14 additions and 1 deletions

View File

@@ -61,6 +61,7 @@
(package! dashboard) (package! dashboard)
(package! dired-open) (package! dired-open)
(package! dired-subtree) (package! dired-subtree)
(package! dirvish)
(package! dmenu) (package! dmenu)
(package! elfeed-goodies) (package! elfeed-goodies)
(package! emojify) (package! emojify)

View File

@@ -88,9 +88,11 @@ opt.mouse = "a"
g.mapleader = ' ' g.mapleader = ' '
g.maplocalleader = ' ' g.maplocalleader = ' '
require('lualine').setup()
-------------------------------------------------
-- COLORSCHEMES -- COLORSCHEMES
-------------------------------------------------
-- Uncomment just ONE of the following colorschemes! -- Uncomment just ONE of the following colorschemes!
-- local ok, _ = pcall(vim.cmd, 'colorscheme base16-dracula') -- local ok, _ = pcall(vim.cmd, 'colorscheme base16-dracula')
-- local ok, _ = pcall(vim.cmd, 'colorscheme base16-gruvbox-dark-medium') -- local ok, _ = pcall(vim.cmd, 'colorscheme base16-gruvbox-dark-medium')
@@ -111,7 +113,10 @@ A.nvim_create_autocmd('TextYankPost', {
end, end,
}) })
-------------------------------------------------
-- KEYBINDINGS -- KEYBINDINGS
-------------------------------------------------
local function map(m, k, v) local function map(m, k, v)
vim.keymap.set(m, k, v, { silent = true }) vim.keymap.set(m, k, v, { silent = true })
end end
@@ -130,7 +135,10 @@ map('n', '<leader>fb', '<CMD>Telescope file_browser<CR>')
map('n', '<leader>fw', '<CMD>Telescope live_grep<CR>') map('n', '<leader>fw', '<CMD>Telescope live_grep<CR>')
map('n', '<leader>ht', '<CMD>Telescope colorscheme<CR>') map('n', '<leader>ht', '<CMD>Telescope colorscheme<CR>')
-------------------------------------------------
-- DASHBOARD -- DASHBOARD
-------------------------------------------------
local db = require('dashboard') local db = require('dashboard')
local home = os.getenv('HOME') local home = os.getenv('HOME')
@@ -181,7 +189,10 @@ db.custom_center = {
} }
db.custom_footer = { '', '🎉 If I\'m using Neovim, then my Emacs config must be broken!' } db.custom_footer = { '', '🎉 If I\'m using Neovim, then my Emacs config must be broken!' }
-------------------------------------------------
-- PLUGINS -- PLUGINS
-------------------------------------------------
return require('packer').startup(function() return require('packer').startup(function()
-- Packer can manage itself -- Packer can manage itself
use 'wbthomason/packer.nvim' use 'wbthomason/packer.nvim'
@@ -262,6 +273,7 @@ return require('packer').startup(function()
use { 'nvim-lualine/lualine.nvim', use { 'nvim-lualine/lualine.nvim',
requires = { 'kyazdani42/nvim-web-devicons', opt = true } requires = { 'kyazdani42/nvim-web-devicons', opt = true }
} }
require('lualine').setup()
-- File management -- -- File management --
use 'vifm/vifm.vim' use 'vifm/vifm.vim'