GithubHelp home page GithubHelp logo

taoeu / config-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thaoeu/config

0.0 0.0 0.0 15.92 MB

manjaro 下 zsh neovim ranger keynav 等的个性化配置

Shell 12.84% Vim Snippet 0.44% Vim Script 58.38% Python 27.67% Lua 0.67%

config-1's Introduction

Manjaro 用配置文件及脚本


Arch 也可使用

NeoVim

安装脚本

./nvim.sh

虽然我是按照 Dvorak 的使用习惯配置,但几乎没改动 vim 本身的映射

所以 qwerty 布局完全可以正常使用

快捷键(普通模式)

即按下 Leader 键后触发的功能

Leader 键 功能
w 保存并进入普通模式(插入模式及普通模式)
i 退出 nvim
h 调用插件 easymontion 当前页面定位字符
s 开启单词拼写检测
m 添加#>#标记用来定
t 寻找#>#标记并替换
y 复制到系统剪贴板 Y 为复制整行
u Undotree
e 查看文件树
/ 取消搜索高亮
ve 打开 nvim 配置文件
vs 刷新 nvim 配置文件
tm 切换表格模式
gy 调用插件 Goyo 进入阅读模式
!w 保存当前文件到临时文件
!Leader 从临时文件读取内容
Ctrl-g 统计中文字数

快捷键 (普通模式)

按键 功能
- 匹配下一个查找项 即 vim 中 ";"
_ 匹配上一个查找项 即 vim 中 ","
Ctrl-t 在 nvim 中打开终端
Enter-j 五次下一行
Enter-k 五次上一行
Space 单词翻译 加 Leader 替换当前单词为翻译

快捷键(插入模式)

按键 功能
Ctrl-u 使上一个单词大写
Ctrl-l 代码片段
Leader-r 运行、预览
Leader-d Debug
Leader-p 从系统剪贴板粘贴

快捷键 Markdown 专用(插入模式)

这里用的不是 Leader 键,更改需要依次替换","

, 键 功能
r 调用插件预览 Markdown
t 定位标记:替换标记
h 替换标记并换行
n 短分隔线
l 长分隔线
b 加粗标记
i 斜体标记
s 划线标记
c 代码块
d 代码标记
e Todo
p 图片
u 链接
1 上角标
2 下角标
9 一级标题
8 二级标题(7654 依次)

Zsh

oh-my-zsh 在我的老机器上运行有些迟缓,所以现在我只使用了 p10k 主题

./zsh.sh

使用如下命令进行 p10k 自定义

p10k configure

Bash

虽然不是很喜欢 Bash,但偶尔还是要用到

Keynav

一个 Xorg 可用的代替鼠标的小软件,除了不能拖动外完全替代我的鼠标

./keynav.sh
按键 功能
Ctrl-Space 启用 keynav
Space 左键单击
i 右键单击
; 中键单击
y 撤销
h j k l 上下左右移动
aoeu 左下上右

Ranger

./ranger.sh

VimLike 终端文件管理器,仅在默认基础上添加了图标更改了默认打开方式

dunst

./dunst.sh

通知管理器,顶部横栏式通知 配置文件位置 ~/.config/dunst/dunstrc

Fctix

虽然已经建立了一个****** Fctix 的仓库,但是由于考虑到其他平台 不利于敏捷安装 所以在这里添加了专用的 **Fcitx 配置

config-1's People

Contributors

thaoeu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.