zoukankan      html  css  js  c++  java
  • .vimrc

    0x00 shortcut

    compilation : F4

    run program : /rr

    toggle Tcomment : gc

    toggle netred : Ctrl+n

    0x01 set your own highlight

    view all highlight setting with sytanx.vim with this command  :highlight

    chang what you want with this command

    :hi tag term=x ctermfg=x ctermbg=x guifg=x guibg=x 

    [Quickfix List] belong to Search iterm

    add this command to your .vimrc file

    :hi Search  term=blok ctermfg=1 ctermbg=0 guifg=bule guibg=fg 

    使用Ctags

    在源文件目录顶层命令 ctags -R

    在.vimrc 或打开源文件中键入 set /../../../tags

    放回 ctrl +t

    条件断点 break 53 if i==9

    清除断点 info break delete breakpoint

    更好的使用c-support-template

    修改/c.vim/c-support/templates目录下的c.commnts.templete 文件

    没有修改之前它是这样的,也就是默认新建一个c源文件的头几行,显然在$% .......$%之间的东西是可以改变的

    $%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    == comment.file-description == start ==
    /*
    * =====================================================================================
    *
    * Filename: |FILENAME|
    *
    * Description: <CURSOR>
    *
    * Version: 1.0
    * Created: |DATE| |TIME|
    * Revision: none
    * Compiler: gcc
    *
    * Author: |AUTHOR| (|AUTHORREF|), |EMAIL|
    * Organization: |ORGANIZATION|
    *
    * =====================================================================================
    */

    $%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

    修改之后,就的到我需要的东西

    $%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    == comment.file-description == start ==
    #include <stdlib.h>
    #include <stdio.h>
    #include <string.h>

    int main()
    {


    return 0;
    }
    $%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

  • 相关阅读:
    过滤器,拦截器,监听器的区别
    Spring中的@Transactional(rollbackFor = Exception.class)属性详解
    java进阶知识--JAVA锁
    java进阶知识--23种设计模式
    java进阶知识--初识Jedis
    java进阶知识--初识redis
    java进阶知识--Nginx安装与部署
    java进阶知识--Nginx代理
    Linux常用命令
    Linux权限管理
  • 原文地址:https://www.cnblogs.com/been/p/3926982.html
Copyright © 2011-2022 走看看