From a63790b49ae12d59f8320bcaf71828b346fee916 Mon Sep 17 00:00:00 2001 From: Jellyfish Date: Sat, 18 Jan 2025 23:39:12 -0800 Subject: [PATCH] added stow --- .config/nvim/lua/config/bindings.lua | 5 ++++- .config/nvim/lua/plugins/telescope.lua | 13 +++++++------ Makefile | 5 ++++- README.md | 5 +++++ 4 files changed, 20 insertions(+), 8 deletions(-) diff --git a/.config/nvim/lua/config/bindings.lua b/.config/nvim/lua/config/bindings.lua index 8caeddd..8a1655f 100644 --- a/.config/nvim/lua/config/bindings.lua +++ b/.config/nvim/lua/config/bindings.lua @@ -1,9 +1,12 @@ --- Mapleader vim.g.mapleader = ' ' + +-- Base vim.keymap.set("n", "pv", vim.cmd.Ex) vim.keymap.set("n", "", "zz") vim.keymap.set("n", "", "zz") vim.keymap.set("n", "n", "nzz") vim.keymap.set("n", "N", "Nzz") vim.keymap.set("n", "", "") + + diff --git a/.config/nvim/lua/plugins/telescope.lua b/.config/nvim/lua/plugins/telescope.lua index 217f726..c8d7e50 100644 --- a/.config/nvim/lua/plugins/telescope.lua +++ b/.config/nvim/lua/plugins/telescope.lua @@ -1,4 +1,11 @@ +-- Telescope +local builtin = require('telescope.builtin') +vim.keymap.set('n', 'pf', builtin.find_files, { desc = 'Telescope find files' }) +vim.keymap.set('n', 'pb', builtin.buffers) +vim.keymap.set('n', 'pg', builtin.live_grep) +vim.keymap.set('n', 'fh', builtin.help_tags) + -- Setups return { 'nvim-telescope/telescope.nvim', tag = '0.1.8', @@ -6,9 +13,3 @@ return { dependencies = { 'nvim-lua/plenary.nvim' } } --- Keybindings -local builtin = require('telescope.builtin') -vim.keymap.set('n', 'ff', builtin.find_files, { desc = 'Telescope find files' }) -vim.keymap.set('n', 'fb', builtin.buffers) -vim.keymap.set('n', 'fg', builtin.live_grep) -vim.keymap.set('n', 'fh', builtin.help_tags) diff --git a/Makefile b/Makefile index 6367360..dd0fc0e 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,10 @@ base: setup setup: sudo xbps-install -y stow xtools neovim tmux yazi zsh autorandr - stow . + mkdir $HOME/.dotfiles + cp -r ./.* $HOME/.dotfiles/ + cp -r ./* $HOME/.dotfiles/ + stow $HOME/.dotfiles/ graphical: graphical-xorg graphical-river diff --git a/README.md b/README.md index f7e9985..2d9261a 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,14 @@ In addition to dotfiles, it also includes setup for the tools instead. * tmux * river * yazi + ## Requirements * git +## Install +1. Clone this repo +2. + ## Needs * make xorg and bspwm setup * transition to river