~/.vimrc内容如下: set nocompatible filetype off set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() Plugin 'VundleVim/Vundle.vim' Plugin 'tpope/vim-fugi ...
分类:
系统相关 时间:
2020-07-18 13:52:57
阅读次数:
109
vimrc colorscheme ron :syntax on filetype on filetype plugin on filetype indent on set sts=4 set shiftwidth=4 set backspace=2 set tabstop=4 set showmo ...
分类:
系统相关 时间:
2020-07-08 09:14:50
阅读次数:
84
这几天考试,老师经常不给开ftp下vimrc,所以只好自己写了。 color ron set nu set autoindent set cindent set cursorline set tabstop=4 set mouse=a set sw=4 inoremap [ []<ESC>i ino ...
分类:
系统相关 时间:
2020-07-06 16:28:11
阅读次数:
66
1、统计出/etc/passwd文件中其默认shell为非/sbin/nologin的用户个数,并将用户都显示出来。 ~]# grep -v "/sbin/nologin" /etc/passwd | cut -d: -f1 root sync shutdown halt mageia slackw ...
分类:
系统相关 时间:
2020-07-05 17:28:20
阅读次数:
83
本配置是按照博主本人的喜好来写的 可根据自己的喜好进行改编 摘自https://www.cnblogs.com/shengy/p/7478287.html """"""""""""""""""""""""""""""""""""" ...
分类:
系统相关 时间:
2020-07-05 15:50:26
阅读次数:
104
将/etc/profile文件拷贝到/tmp下,并用vim打开/tmp/profile在命令模式下删除行首的空白字符[root@centos7~]#cp/etc/profile/tmp/profile[root@centos7~]#cat/tmp/profile#/etc/profile#Systemwideenvironmentandstartupprograms,forloginsetup#F
分类:
系统相关 时间:
2020-06-22 09:18:53
阅读次数:
95
安装git 在liunx终端sudo apt install git 使用git安装bunlde插件 git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim 对vimrc文件进行配置 call vu ...
分类:
系统相关 时间:
2020-06-20 21:32:22
阅读次数:
124
source $VIMRUNTIME/vimrc_example.vim source $VIMRUNTIME/mswin.vim behave mswin if &diffopt !~# 'internal' set diffexpr=MyDiff() endif function MyDiff( ...
分类:
系统相关 时间:
2020-06-19 14:02:38
阅读次数:
62
原文链接:https://blog.csdn.net/qq_16633405/article/details/79907389?utm_medium=distribute.pc_relevant.none-task-blog-baidujs-2 方法一:修改/etc/vim/vimrc.tiny s ...
分类:
其他好文 时间:
2020-06-09 20:17:23
阅读次数:
67
vim打开 vim ~/.vimrc 添加 syntax on #语法高亮set number #显示行数 set hlsearch set tabstop=4 set autoindent ...
分类:
系统相关 时间:
2020-05-30 22:11:28
阅读次数:
85