GithubHelp home page GithubHelp logo

Comments (10)

TTWShell avatar TTWShell commented on July 21, 2024

:retab

from legolas-vim.

levylll avatar levylll commented on July 21, 2024

@TTWShell 小哥,你这个箭头真的是头疼。。。。怎么能彻底搞掉啊。。。。我发现我执行python都报失败。。。。

from legolas-vim.

TTWShell avatar TTWShell commented on July 21, 2024
  1. 箭头不是真的有箭头,只是把tab显示为箭头,为的是查错方便,这样一眼就能看到有tab,而不是等到执行程序时候发现报错。在py里面,本就应该使用4空格缩进,而不能用tab,请看pep8。
  2. 把tab一键替换为4空格的方法之前也说过了,:retab
  3. 文件本身有tab、使用paste模式复制了代码、在paste模式使用整体缩进快捷键才会引入tab。

结论:把tab去掉只用执行命令:retab

@levylll 以上

from legolas-vim.

levylll avatar levylll commented on July 21, 2024

😢,我以前会默认把vim的的tab换成4个space
然后就是:retab不管事儿呀。。。。如下。。。箭头还是在。。。
不好意思呀

 92 >--->---
 93 >--->---
 94
 95
 NORMAL  PASTE  ./draw_raw_data.py +                unix  utf-8  python   82%    94:1
:retab

@TTWShell

from legolas-vim.

levylll avatar levylll commented on July 21, 2024

@TTWShell 诶,抱歉,可能是我用法有问题,刚刚的 :retab 又生效了,非常抱歉的打扰了你。

from legolas-vim.

TTWShell avatar TTWShell commented on July 21, 2024

@levylll 不要停留在paste模式,复制黏贴完代码退出paste模式,看你的powerline感觉不对。

from legolas-vim.

levylll avatar levylll commented on July 21, 2024

@TTWShell 这应该是粘贴上来之后,才变成小方块了,在vim里面看起来没大问题。嗯,这个paste模式的话,额,确实也是我用的不太好的一点,有时候想要有时候不想要。。。。。

from legolas-vim.

levylll avatar levylll commented on July 21, 2024

请问

~  87 
+  97
_ 108 

请问,数字左边这些小符号是什么意思啊

from legolas-vim.

TTWShell avatar TTWShell commented on July 21, 2024

git diff插件。

from legolas-vim.

levylll avatar levylll commented on July 21, 2024

@TTWShell 如果没有git add git commit 的话,这种小标记能不能去掉,有时候想复制,会有小符号的影响。

from legolas-vim.

Related Issues (20)

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.