zoukankan      html  css  js  c++  java
  • linux小倒腾

    1。vim安装sudo apt-get install vim-gtk,于是vim就安装好了。当然在我电脑上还出现了gvim,简单的vim配置(etc/vim/vimrc):

     1 "我的设置
     2 set number 
     3 
     4 "不使用vi默认键盘布局
     5 set nocompatible
     6 set autoindent
     7 set smartindent
     8 set showmatch
     9 "显示状态行
    10 set ruler
    11 set tabstop=4
    12 set cindent
    13 set nobackup
    14 "与windows共享剪贴板
    15 set clipboard+=unnamed
    16 set shiftwidth=4

    若提示权限不够,则su进入root用户,在切换到vim目录,chmod 777 vimrc,此时则能愉快的进行编辑了

    2。终端,系统字体还是觉得DejaVu Sans Mono或者Consolas ,italic 好看,还有就是关于桌面美化上网搜点好看的图片,右键有设置为桌面背景的选项。系统本身的桌面背景那几张图看起来实在显得有些单调。。。

    3。关于linux最基本的命令

      ls显示当前目录下文件夹,

      cd .. 返回father目录,

      cd / 返回root目录,

      cd - 返回上次的目录,

      cd . 当前目录,

      cd 或 cd ~返回home/aaa目录,其中aaa为你设置Linux的名称。

    就这么多吧。。。

  • 相关阅读:
    今晚的比赛(2011.12.4)
    js中prototype,constructor的理解
    laravel中empty(),is_null() 以及isEmpty()
    mysql查询语句and,or
    jquery简易tab切换
    Qt 的QcomboBox的简单使用
    折半查找
    C++强制类型转换(转)
    二叉树学习
    c++的重载,覆盖与隐藏
  • 原文地址:https://www.cnblogs.com/why-not-try/p/6111846.html
Copyright © 2011-2022 走看看