Skip to content

Some configurations to make us use our computer effectively.

Notifications You must be signed in to change notification settings

CountyRipper/My-computer-configuration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My-computer-configuration

powered by Josh Medeski's Dotfiles

screenshot

This is the home of my dotfiles. These are files that add custom configurations to my computer and applications, primarily the terminal. It includes 2 versions for MacOS and Linux.

./dotdiles

-- Keymaps are automatically loaded on the VeryLazy event
-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
-- Add any additional keymaps here
local keymap = vim.keymap
keymap.set("i", "ii", "<Esc>")
keymap.set("i", "<C-w>", "<C-o>w", { noremap = true, silent = true })
-- 移动到单词开头并在单词前进入插入模式
vim.keymap.set("i", "<C-b>", "<Esc>bi", { noremap = true, silent = true })

-- 移动到单词末尾并使用 append 进入插入模式
vim.keymap.set("i", "<C-f>", "<Esc>ea", { noremap = true, silent = true }) --
---
---方向键
---
keymap.set("i", "<C-l>", "<Right>", { noremap = true, silent = true })
keymap.set("i", "<C-h>", "<Left>", { noremap = true, silent = true })
keymap.set("i", "<C-j>", "<Down>", { noremap = true, silent = true })
keymap.set("i", "<C-k>", "<Up>", { noremap = true, silent = true })
keymap.set("i", "<C-a>", "<C-o>^", { noremap = true, silent = true }) -- 移动到行首
keymap.set("i", "<C-e>", "<C-o>$", { noremap = true, silent = true }) -- 移动到行尾
keymap.set("i", "<C-z>", "<C-o>u", { noremap = true, silent = true }) --撤销上次操作

Software

Embed Softwares

development

Hardware

Keyboards

Power charger

Earphone

Headphone

About

Some configurations to make us use our computer effectively.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published